• In the past I had all my menu across the top on one line. Each update I have changed a file to fix this. Now I forgot where it is at. Can this be made in a Child Them

Viewing 12 replies - 1 through 12 (of 12 total)
  • 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.

    Thread Starter cubmanky

    (@cubmanky)

    I have a full backup of my site, This is my current Child style.css

    /*
    Theme Name:
     Author:       Charles
     Author URI:   https://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; }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Use a spot-the-difference tool with the theme’s original CSS and your modified CSS to see the difference: https://diffchecker.com

    Thread Starter cubmanky

    (@cubmanky)

    I just pulled up the old and new style sheet and changes all over the place.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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.

    Thread Starter cubmanky

    (@cubmanky)

    Still can not find the code i need.
    When I find it i will put it in the child this time

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I 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

    Theme Author nobita

    (@nobita)

    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

    Thread Starter cubmanky

    (@cubmanky)

    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

    Thread Starter cubmanky

    (@cubmanky)

    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.

    Thread Starter cubmanky

    (@cubmanky)

    Ok I have it fixed My child style.css is now

    /*
    Theme Name:
     Author:       Charles
     Author URI:   https://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?

    Theme Author nobita

    (@nobita)

    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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Menu width’ is closed to new replies.