Keyword

Background Image in catitemcategory

  • magdakar
  • magdakar's Avatar Topic Author
  • Offline
  • New Member
More
9 years 4 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..

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 4 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • magdakar
  • magdakar's Avatar Topic Author
  • Offline
  • New Member
More
9 years 4 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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 4 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/ ?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • magdakar
  • magdakar's Avatar Topic Author
  • Offline
  • New Member
More
9 years 4 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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 4 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum