- This topic has 9 replies, 2 voices, and was last updated 5 years, 5 months ago by
Leo.
-
AuthorPosts
-
August 19, 2018 at 12:46 am #653241
Samantha
On my page: https://www.vibrantyogini.com/faq/
I use the plugin called ‘read more’
I would like the font style to be open sans and the colour to change from orange to blue.
What custom css can I put in the customiser to do this?
Also, is there css code to make the primary navigation bar height large on desktop, but smaller on mobile so that the menu on mobile doesn’t look to spread out? (I want to do this so that on a desktop my logo appears larger on the homepage, but then shrinks as scrolls, at the moment ive made the primary navigation height smaller, but I would like to put it larger again so the logo is larger)
August 19, 2018 at 7:08 am #653394David
StaffCustomer SupportHi there,
you can try this CSS:
*[id^='readlink'], *[id^='readlink']:hover, *[id^='readlink']:focus, *[id^='readlink']:active { color: #347dbc; }In the Customise > Layout > Primary Navigation > Menu Item Height – you can adjust the height separately for Mobile – just click the Mobile icon to adjust.
August 20, 2018 at 2:41 am #654083Samantha
Yes this worked! Thank you very much 🙂
August 20, 2018 at 2:45 am #654088Samantha
With my drop down menu off of the primary navigation (yoga classes – yoga class schedule) how do I then make the text show on one line?
August 20, 2018 at 6:24 am #654249David
StaffCustomer SupportYou could reduce the padding on the drop down menu like so:
@media (min-width: 1024px) { .main-navigation .main-nav ul ul li a { padding: 13px 15px 13px 15px; } }August 20, 2018 at 6:35 am #654259Samantha
Thank you!
August 20, 2018 at 6:38 am #654265David
StaffCustomer SupportGlad to be of help 🙂
November 7, 2020 at 1:37 pm #1522024Martin
Where exactly do I have to put this CSS for the main navigation? I am no coder so is there a input field somewhere? Thank you very much.
November 7, 2020 at 1:48 pm #1522036Martin
I meant where exactly do I put or how do I have to modify this for the canvas mobile menu. Thank you!
November 7, 2020 at 1:50 pm #1522038Leo
StaffCustomer SupportCSS can be added using one of these methods:
Adding CSS: https://docs.generatepress.com/article/adding-css/If you need further help with an issue, can you open a new topic and link us to the page in question?
https://docs.generatepress.com/article/using-the-premium-support-forum/#open-support-topicThanks 🙂
-
AuthorPosts
- The topic ‘custom css’ is closed to new replies.