Changing font size of SubCategories...

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Changing font size of SubCategories...

mywaytoo
Is it possible to change the size and colour of the sub-category text so that it stands out better from the posts? I have only just discovered this layout and it is perfect... but for the font... Matching the black text of the other headings would be good...

http://welwynhatfield.983918.n3.nabble.com/Business-f2216886.html

Anne
Reply | Threaded
Open this post in threaded view
|

Re: Changing font size of SubCategories...

Omar
Hi Anne,
On reflection I dont see how to do this.

You *could* add a line to the Options---> Change Appearance, scroll down to CSS:
.nabble B {font-size:1.2em}, but this would increase the size of bolded text in replies as well (after all, Subcategories are identified by simple bolded text).

Anyone else got any ideas?
Reply | Threaded
Open this post in threaded view
|

Re: Changing font size of SubCategories...

GregChapman
In reply to this post by mywaytoo
mywaytoo wrote
Is it possible to change the size and colour of the sub-category text so that it stands out better from the posts?
Yes!

Adding something like this to the Change Appearance CSS box would do it:

.nabble a.second-font {
  color: black;
  font-size: 150%;
}

Matching the black text of the other headings would be good...
I'm less sure about the colour change. Bear in mind that in this format the heading is a link so it needs to be distinguished from the ordinary text, but I guess that's up to you.

Perhaps adding an underline would be acceptable to you? Adding:

  text-decoration: underline;

would do that!

NOTE: I haven't checked where else the "second-font" class is applied to a link, so my code my have unwanted side-effects on other screens.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Changing font size of SubCategories...

mywaytoo
Omar and Greg... Thank you for your replies... I'll ponder on it...
Anne