Loading...
 
Skip to main content

Themes


Re: How to: IF style="something" then DO this... ???

I don't know what you mean by line call, but div with class="simplebox highlight" is used a few times in the tiki-view_tracker_item.tpl template file when a warning box needs to be displayed. Since it's a CSS class, as far as I know the only way to override the div.highlight general case would be contextually, but in a quick check of the file I didn't see any way to do that. So I'd first try styling div.highlight, to see if that gives the right effect and doesn't cause problems on other pages.

To tell the truth, I didn't track down all instances of the use of the highlight class in Tiki's files (I've been involved in helping organize Tiki's CSS), but now see that it is a div class (alone and in conjunction with simplebox and remarksbox) and also as a span class for search results and selected button states. As long as your modification specifies div.highlight (so buttons and search terms aren't affected), probably there won't be unwanted side-effects from styling the box as you please.

-- Gary