Keyword

CSS4K2 css changes doesnt apply to all pages why?

  • mattian
  • mattian's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 1 month ago #116774 by mattian
Hi,

uploaded the plugin CSS4K2 and enabled it. Done all the steps by coping K2 template from components to my template/html/com_k2/templates folder. Created my own K2 template and added my own css-file inside the template.

Then when I add some changes like:
.even {background-color:transparent;padding:2px;border-bottom:1pxdotted#ccc;}
.odd {background-color:transparent;padding:2px;border-bottom:1px dotted #ccc;}
(Since I want the odd and even lists to be transparent background).
It shows correct on SOME pages but not all. This I cannot understand.

Here it is ok:
www.northchem.fi/kiillotusaineet

Here it is still showing wrongly:
www.northchem.fi/

I've added another css to my own css-file:
.even {background: transparent;}
(Since of some reason there is definition backgound-color and background)

What am I'm doing wrong?

Greetings,
Anne

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

  • mattian
  • mattian's Avatar Topic Author
  • Offline
  • Senior Member
More
11 years 1 month ago #116775 by mattian
Hi,

any ideas what can be causing this issue - odd/even background template override not affecting all pages? Why does not the template override work on every page:
www.northchem.fi/

There is only one template in use, same one on all pages! I can't figure this out!

Greetings,
Anne

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 1 month ago #116776 by Yiota
It seems that your plugin CSS4K2 doesn't render in the homepage and it loads the k2.css instead of the northchem_style.css. Check if there is an option to select pages through the plugin or if there is an option through you template parameters for the homepage.

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


Powered by Kunena Forum