• Resolved aswint

    (@aswint)


    I like the pure simplicity of this theme. I’ve made a childtheme. Everything works fine except for the overlay (color/opacity). I get two inline styles which results in a too strong haze. Is there a solution for this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you show us a page with the problem?

    Thread Starter aswint

    (@aswint)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m sorry I can’t see the issue, can you describe it more?

    Thread Starter aswint

    (@aswint)

    I’ll try.

    With the parent theme installed, the background image is brighter. When using the childtheme the overlay is too heavy. In the sourcecode I watch a double declaration for ‘.overlay’. I’m not sure if this is causing the darker haze. But when it does I’d like to fix that.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re not using a Child Theme, and if the theme doesn’t have a designated section of the dashboard for CSS modifications then install this Custom CSS Manager plugin http://ww.wp.xz.cn/plugins/custom-css-manager-plugin

    Then use its “CSS Code” section of the dashboard to hold your CSS modifications:

    Alternatively use your Child Theme style.css file to hold your CSS modifications:

    .overlay {
       display: none;
    }

    Thread Starter aswint

    (@aswint)

    Andrew, thanks for your support. For the readability of the menu I will need a layer. I wanted a layer with a opacity of 0.5.

    Something overrrides the settings made in the customizer with a opacity of 0.7. I don’t know which command is responsible for this.

    Finally I found a way to override these inline style directly from the Child Theme style.css. (thanks to Chris Coyier)

    .overlay {
    	opacity: 0.5 !important;
    }
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Double overlay with childtheme’ is closed to new replies.