mathildeeeeee Posted November 10, 2020 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!
Guest Posted November 10, 2020 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.
tuanphan Posted November 11, 2020 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; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
mathildeeeeee Posted November 11, 2020 Author 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!!
mathildeeeeee Posted November 11, 2020 Author 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!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.