- This topic has 6 replies, 2 voices, and was last updated 8 years, 4 months ago by Pratik.
-
AuthorPosts
-
December 26, 2015 at 4:53 am #81681BanditMember
I try to change font-size on the menu, but it also changes size of all other text which I don’t want to. I change the code that’s on line 255 – 262 on the original style.css but on my childtheme it on other place but the code says:
body, button, input, select, textarea { font-size: 15px; /*SID OCH MENY TEXT*/ font-size: 1.5rem; }
I have tried to make a copy of the code and change but it stil changes both. How shall I do? Thanks
December 26, 2015 at 8:49 am #81685PratikKeymasterHi @Bandit,
Do not edit the core css files. We have given a feature Custom CSS for changing any custom CSS.
It would be better if you could have given your site link but I think following code will work.Goto Appearance=> Customize=> Theme Options=> Custom CSS and add following code:
#access { font-size: 20px; }
Then click on Save & Publish button.
You can increase or decrease 20px to have same effect on the display.
Let me know if this solves your issue or not. If it does not, please post in your site url.
December 26, 2015 at 3:59 pm #81688BanditMemberI haven’t touch the core file I just looked where the code line was there because I have a childtheme and the lines for the code isn’t the same. I’ll test that code and see if it works. Thanx
December 26, 2015 at 4:06 pm #81689BanditMemberI looked in to that code it worked but on wrong menu, I have the secondary as my primary because I have a banner and I want the menu below it.
December 26, 2015 at 4:12 pm #81690PratikKeymasterHi @Bandit,
Please try following code:#secondary-menu { font-size: 20px; }
Again, pleas post in your site url if this does not work.
December 26, 2015 at 4:31 pm #81691BanditMemberIt worked just fine, but I changed the font type so it looks good anyway, but thanks I shall save this if I remake my site. The adress is: http://www.mickesei.se
December 26, 2015 at 5:46 pm #81695 -
AuthorPosts
- The topic ‘Menu issue’ is closed to new replies.