Home › Forums › Weaver Xtreme Theme › site title size
- This topic has 9 replies, 3 voices, and was last updated 4 months ago by
scrambler.
-
AuthorPosts
-
May 28, 2023 at 15:02 UTC - Views: 46 #72881
FBailey
ParticipantHow to change the site title font-size? Site title is on main menu to the left of the page tabs.
May 28, 2023 at 23:40 UTC - Views: 43 #72884scrambler
ModeratorPlease provide a link to your site….
May 29, 2023 at 01:36 UTC - Views: 40 #72885FBailey
Participantlwrwc.org
May 29, 2023 at 08:45 UTC - Views: 39 #72888User
ParticipantTry adding into Customize > Custom CSS > Primary Menu Bar Custom CSS >
.site-title-on-menu { font-size: 400%; }
Regards!
May 29, 2023 at 17:05 UTC - Views: 33 #72895FBailey
ParticipantMy Customize Panel has no tab: Custom CSS>Primary Menu Bar Custom.
I have: Custom CSS>Global Custom CSS and Custom CSS>Additional CSS.
.site-title-on-menu { font-size: 400%; } did not work in any of these.
May 29, 2023 at 18:34 UTC - Views: 28 #72896scrambler
ModeratorThe CSS should go in the theme Global Custom CSS rule box.
Right now I do not see your rule. If you removed it, please put it back and post back so we can see why it is not working.
One possibility is that you have some bad CSS in that custom CSS Rule box that breaks the CSS file.
So if you have other CSS in that box, please paste the content of that box here.
May 29, 2023 at 19:59 UTC - Views: 27 #72897FBailey
ParticipantI put the rule: .site-title-on-menu { font-size: 400%; } in the Global Custom CSS box. No other rules.
It did not work. I tried several sizes.
Perhaps the selector in the rule is not correct. How is one supposed to know what the CSS selector is?
Something must be controlling the site title, it has a different style than the menu items.
May 30, 2023 at 00:24 UTC - Views: 24 #72899scrambler
ModeratorYou need to add !important to the rule to override the other one and 200% should be enough
Make sure to have a space before it like below
.site-title-on-menu {font-size: 200% !important;}
If you want to learn how to find selectors, start by reading the article below
Browser Developer Tools and Code Validation – Weaver Xtreme Guide (weavertheme.com)
May 30, 2023 at 20:02 UTC - Views: 11 #72918FBailey
ParticipantAdding !important worked. Thank you.
I am also reading the info in the link.
I read: First Check thoroughly if there is a theme option for it.
I found it strange that the site title did not have a theme option
May 30, 2023 at 23:19 UTC - Views: 9 #72920scrambler
ModeratorThe site title does have a font setting, but it affects the title in the header.
There is no dedicated setting for the title on the menu bar as there it is mostly constrained by the menu bar height
-
AuthorPosts
- You must be logged in to reply to this topic.