Support » Theme: Everal » Menu layout disturbed by empty child theme

  • Installed ‘everal’, added child theme ‘everal-child’ and activated. Top menu bar no longer floats right, instead it is overlaid by site identity text. Activating parent restores menu to rhs.
    Checked style.css in child carefully.
    Sorry, left out url:
    http://earthsculpture.org/

Viewing 4 replies - 1 through 4 (of 4 total)
  • add this to your child theme’s css

    .site-title {
        display: none;
    }

    Post from Mr. Case does not resolve this, it hides the site title and doesn’t restore the menu into its ‘float right’ state. Something is not correct when adding a child theme with no css in it disturbs the parent layout.

    I apologize. i totally misunderstood what you were trying to do. try this and see if it helps.

    #primary-navigation {
        float: right;
    }

    Hi, Mr Case, thanks for trying to help.
    Line 1069/1073 of the parent theme’s css is already set to make the menu float right. This works OK without the child theme activated. However when the child theme with no css in it is activated, the float right is over-ruled by the file grid-hyphen-framework.less line 48 which causes a float left to be applied to the col-md-1 class (primary nav tag).
    It looks as if the concept of a child theme is in conflict with the use of ‘less’ in this theme. Although quite experienced with css I haven’t used ‘less’ and and am a relative WP beginner so I need some advice as to whether there is a fix for this or whether I should give up on the child theme concept and keep track of mods to the parent stylesheet and re-apply after any theme updates.
    The fix suggested does work of course for this one problem as using an id takes precedence over the classes used in the parent theme css and ‘less’ files. However I am asking for someone (hopefully the theme author) to answer my concerns about the conflict referred to above in case there are other effects of the child theme interacting with the use of ‘less’.
    Menu float right fix is applied currently in the child theme, I can revert for diagnosis if anyone needs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menu layout disturbed by empty child theme’ is closed to new replies.