Menu boxes size
-
Okay, I’ve been fidgeting with this menu for a while now and I just CANNOT get the menu boxes to become smaller. The menu should fit on one or two lines at most, but now it’s taking 4 already and I want to add a facebook menu option as well.
I’ve added this custom CSS:
.menu {
background-color: silver;
border-style: ridge;
box-sizing: border-box;
width: initial;
float: left;}menu is the CSS class of the menu obviously, but no matter what I set for width, the width stays the same. I’m guessing it’s inheriting the width attribute from somewhere, but I can’t for the life of me figure out where from?
Can someone help me out with this?-
This topic was modified 7 years, 11 months ago by
groundabout.
The page I need help with: [log in to see the link]
-
This topic was modified 7 years, 11 months ago by
-
The class “menu” has a min-width of 180px, so
.menu { min-width: 80px; }or so should do what you want.
To add CSS: use the “Additional CSS” option in the customizer. https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress
Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.
I recommend asking at https://wordpress.org/support/theme/atlast-business#new-post so the plugin’s / theme’s developers and support community can help you with this.
uff… checked your website?
remove any customization you have done or activate another theme delete your theme current theme then reinstall it.@sterndata thank you very much, I really appreciate it.
I’ll try it and if I can’t figure things out I’ll check out the Theme page like you suggested.
Thanks again.
Oh yeah, where do you see those attributes for the css classes?@pratikthink Dude, seriously? I JUST friggin started the site so yeah it looks like crap now. What are you even doing on a support forum if all you’re gonna be doing is talking trash about people’s brand new sites?
Pff.-
This reply was modified 7 years, 11 months ago by
groundabout.
@groundabout I am really sorry bro, That was not my intention.
check this file in /wp-content/themes/atlast-business/assets/css/spectre.css
Line 2391
thank you for that.
-
This reply was modified 7 years, 11 months ago by
The topic ‘Menu boxes size’ is closed to new replies.