Menu width
-
Cubmanky,
Did you make a backup of the site?
Also, you may want to use a plugin like Simple Custom CSS where you can put the CSS code to specify your menu width. That way, whenever you update your theme, your changes won’t be lost.
I have a full backup of my site, This is my current Child style.css
/* Theme Name: Author: Charles Author URI: http://thecubden.org Template: raindrops Version: 1.0.0 Tags: Text Domain: */ @import url("../raindrops/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */ #hd{ display:none;} #gaiframe { visibility: hidden !important; }
Use a spot-the-difference tool with the theme’s original CSS and your modified CSS to see the difference: http://diffchecker.com
I just pulled up the old and new style sheet and changes all over the place.
That’s fine. You can just copy all of the styles into your Child Theme style.css file and then not enqueue the parent theme style.css file.
Still can not find the code i need.
When I find it i will put it in the child this timeI think you misunderstood, or maybe I did, I meant copy all of your theme’s style.css file (apart from the CSS comments at the top) and then paste that into your Child Theme style.css file
Hi cubmanky
the following code is no needs
@import url("../raindrops/style.css");
Raindrops automatic load parent stylesheet.
WordPress 4.3, menu control is added to the customizer, theme menu control section of were lost.
The section that controls the menu of fonts and width
It has been moved to the Customizer / Presentation / Menu
Thank you
When I try to use the Customizer / Presentation / Menu I get not change in the menu when i move the sliders.
Only files in my child folder are style.css and functions.php
I added
#top #access .menu > li > a{ width:100%; display:block; padding:0 1em; box-sizing:border-box;
to my child and that moved it to one line now by decreasing the padding, but they are not centered.
Ok I have it fixed My child style.css is now
/* Theme Name: Author: Charles Author URI: http://thecubden.org Template: raindrops Version: 1.0.0 Tags: Text Domain: */ /* =Theme customization starts here -------------------------------------------------------------- */ #hd{ display:none;} #gaiframe { visibility: hidden !important; } #top #access .menu > li > a{ width:100%; display:block; padding:0 .75em; box-sizing:border-box; } #access .menu > .menu-item-has-children{ padding-right:0em; box-sizing: border-box; }
Going to leave this still open a few days for comments.
What I did above, is that OK? I’m not a programmer, just asking?There is no place where you are wrong,
The browser of the width, in a state in which the reduced to 640px,
it is good to problems should be sure whether not occur on the screen.
- The topic ‘Menu width’ is closed to new replies.