"On a Whim" Menu Design Issue
-
Initially the issue was that the menu items didn’t use the white space as well as it could – leaving a pretty big gap between the text and the social media icons in the menu.
The online help desk assisted me by writing some new CSS code into my theme. It’s “On a Whim” and was originally written by Word Press. The blog is https://wingedbeautydotcom.wordpress.com
Here’s what we’ve got so far:
/* Width of Menu Area */
.navigation-social-links {
width: 100%;
}/* Width of Menu Items */
.navigation-main {
width: 90%;
}/* H.Alignment of Top Social Links */
.social-links {
margin: -35px 0 0;
}/* T.Alignment of Top Social Links */
.site-header .social-links-wrapper {
width: 20%;
padding-top: 0;
}Now the issue is that when I add a new menu item and it wraps, the social icons come with it. Is there code I can add that will pin the social icons to the top level? And then the second row of menu items will stretch out underneath it?
The blog I need help with is: (visible only to logged in users)
-
Hi there, add the following to the bottom of your custom CSS to keep the social links on the right.
.site-header .social-links-wrapper { float: right; } -
-
There is some custom CSS you have now that is causing the issue. Remove this from your custom CSS.
.social-links { margin:-35px 0 0 }Next, find the following rule in your custom CSS and change the width from 90% to 75%.
.navigation-main { width:75% }And then modify this CSS rule in your custom CSS to look like this.
.site-header .social-links-wrapper { width:20%; padding-top:20px; float:right; } -
This new code and alterations to the old certainly assisted with the wrapping issue. Thanks so much!
-
- The topic ‘"On a Whim" Menu Design Issue’ is closed to new replies.
