- Posts: 16
COMMUNITY FORUM
Background Image in catitemcategory
- magdakar
-
Topic Author
- Offline
- New Member
Less
More
10 years 5 months ago #134531
by magdakar
Background Image in catitemcategory was created by magdakar
Hi, i need ur help.. i want to put image in catitemcategory (category name). So i have upload my image in images folder, and in k2.css i put this
div.catItemCategory {
font-size: 18px;
background: url(../images/category.jpg) !important;
background-repeat: no-repeat!important;
background-position: 0px 0px !important;
padding-top: 7px !important;
}
so doen;t work. If i put background: coral; it work.
I dont understaund what is false.....
thanks in advance..
div.catItemCategory {
font-size: 18px;
background: url(../images/category.jpg) !important;
background-repeat: no-repeat!important;
background-position: 0px 0px !important;
padding-top: 7px !important;
}
so doen;t work. If i put background: coral; it work.
I dont understaund what is false.....
thanks in advance..
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134545
by Krikor Boghossian
Replied by Krikor Boghossian on topic Background Image in catitemcategory
The images folder should be relative to the css's path.
If you have overridden the stylesheet in your template, the image should be placed in your template's image folder.
If you have overridden the stylesheet in your template, the image should be placed in your template's image folder.
Please Log in or Create an account to join the conversation.
- magdakar
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
10 years 5 months ago #134558
by magdakar
Replied by magdakar on topic Background Image in catitemcategory
I put the image ('/home/ypopsifi/public_html/eklegmenos/templates/jsn_nuru_pro/images/menubg1.png'), i have change the code and doen;t work..
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134578
by Krikor Boghossian
Replied by Krikor Boghossian on topic Background Image in catitemcategory
It is relative to the path of the css file.
Is the css file placed in '/home/ypopsifi/public_html/eklegmenos/templates/jsn_nuru_pro/css/ ?
Is the css file placed in '/home/ypopsifi/public_html/eklegmenos/templates/jsn_nuru_pro/css/ ?
Please Log in or Create an account to join the conversation.
- magdakar
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
10 years 5 months ago #134625
by magdakar
Replied by magdakar on topic Background Image in catitemcategory
yes...!! i dont know what happening..
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134657
by Krikor Boghossian
Replied by Krikor Boghossian on topic Background Image in catitemcategory
It could be either a wrong or wrong permission.
The console tab of your browser's developer tools will print the actual issue.
The console tab of your browser's developer tools will print the actual issue.
Please Log in or Create an account to join the conversation.