Keyword

Editing subcategory style - some problems

  • Brian
  • Brian's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #134652 by Brian
Hi,

In categories.php I am replacing this

<div class="subCategory style = &quot;height: auto;&quot">

with

<div class="subCategory">

However, even when I remove the style info when the page loads it loads exactly as before. I can confirm that my change is saved, because if I specify

<div class="subCategory1"> , which does not exist, the rendered page uses some default style since it can't find subCategory1.

I didn't see anything obvious in the css. Any ideas?

Thanks,
Brian

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 5 months ago #134665 by Krikor Boghossian
Replied by Krikor Boghossian on topic Editing subcategory style - some problems
This is happening because a script in k2.js is forcing the equal heights. You can override k2.js or you can force an auto height in your css with the !important attribute.

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


Powered by Kunena Forum