mathildeeeeee Posted November 10, 2020 Share Posted November 10, 2020 Site URL: https://www.inspirewellnessandnutrition.com/blog/inflammation-what-is-it-and-should-we-be-concerned Hey guys! I am trying to style the navigation bar located at the bottom of each blog post... removing the lines wrapping the navigation links and making the font slightly bigger. Is this possible? (This is a business plan website.) Thanks in advance! Link to comment
mess_cal Posted November 10, 2020 Share Posted November 10, 2020 Try out this custom CSS: .collection-type-blog .pagination { border: none; font-size: 20px; line-height: 30px; } We need to increase the line-height because with larger font-sizes on mobile styling the overflow: hidden rules will cut off the bottom of letters like "g" and "y" (screenshot below). Setting an explicit line-height fixes this. mathildeeeeee and tuanphan 2 Link to comment
tuanphan Posted November 11, 2020 Share Posted November 11, 2020 @mathildeeeeee I see on tablet, the menu doesn't look good, contact us break in new line You can add this to Design > Custom CSS to solve @media screen and (max-width:900px) and (min-width:641px) { .main-nav ul { padding: 0 !important; } .main-nav li { font-size: 12px; margin-left: 10px; } } mathildeeeeee 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
mathildeeeeee Posted November 11, 2020 Author Share Posted November 11, 2020 17 hours ago, mess_cal said: Try out this custom CSS: .collection-type-blog .pagination { border: none; font-size: 20px; line-height: 30px; } We need to increase the line-height because with larger font-sizes on mobile styling the overflow: hidden rules will cut off the bottom of letters like "g" and "y" (screenshot below). Setting an explicit line-height fixes this. @mess_cal Amazing!! Thank you so much!! Link to comment
mathildeeeeee Posted November 11, 2020 Author Share Posted November 11, 2020 15 minutes ago, tuanphan said: @mathildeeeeee I see on tablet, the menu doesn't look good, contact us break in new line You can add this to Design > Custom CSS to solve @media screen and (max-width:900px) and (min-width:641px) { .main-nav ul { padding: 0 !important; } .main-nav li { font-size: 12px; margin-left: 10px; } } @tuanphan thank you for that! Looks much better now!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment