Skin ignoring my CSS?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
riddles_three
Jr. Propeller Head
Posts: 4
Joined: Thu Jan 20, 2022 9:30 am

Skin ignoring my CSS?

Post by riddles_three »

Hello, I'm experiencing an issue with HTML5 output in that the HTML5 skin does not use the styles in my CSS.

This CSS has been around prior to my working with it. It had Medium settings for both print and (default). There was no Web medium, so I added one thinking that that might fix the issue. It didn't. I basically want the styling to be similar with both print and HTML targets.

I've used HTML5 skins in the past and don't recall having this issue.

Thanks in advance!
devjoe
Sr. Propeller Head
Posts: 337
Joined: Thu Jan 23, 2014 1:43 pm

Re: Skin ignoring my CSS?

Post by devjoe »

The CSS for topics doesn't apply to the tripane skin because the topic is inside a frame of the skin and the css only applies within that frame. To apply CSS to the skin you have to link your stylesheet into the skin via the custom javascript of the skin as described here: viewtopic.php?f=9&t=33706&p=144468 (That topic's about moving the search bar, but you could target any part of the skin with that CSS.)
Post Reply