Quantcast
Channel: Themes (new threads)
Viewing all articles
Browse latest Browse all 70

Using custom classes from CSS

$
0
0

Halloo, first of all, this is probably a trivial issue I can't solve myself due to basic incompetence, but I couldn't find anything online that would help, so I apologize for possibly polluting the forums.

Now, the problem is simple. Picture a custom CSS theme that adds onto the bootstrap base theme, and assume all the code is correct. In the code, a class is defined: .title1

The style content of this class is irrelevant, let's suppose it's just font-size: 999px; for discussion's sake. Now the question is, how could I use this class in any page? I tried doing the following:

[[html]]
<p class="title1">Title1</p>
[[/html]]

This doesn't work, I believe it's because the specific class does not actually globally export to all pages, but only the edited bootstrap is, since when checking the source code, no .title1 class seems to exist.

So the final question would be, how could I export this class onto all pages like custom themes' css would and how could I actually use it?


Viewing all articles
Browse latest Browse all 70

Trending Articles