• Resolved pctekk

    (@pctekk)


    Hi all,

    Please see page http://martinbrunt.co.uk/portfolio/ then click on any photo – notice the navigation bar goes over the top of the photo? This makes the photo look a bit odd.

    Could anyone be so kind as to help me to fix this?

    Many thanks for your help!
    Martin

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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you have a section of the dashboard named, “Custom CSS” or “Edit CSS”?

    Thread Starter pctekk

    (@pctekk)

    Yep…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    In that section, add this:

    #jquery-overlay {
     z-index: 200;
    } 
    
    #jquery-lightbox {
     z-index: 201;
    }

    Thread Starter pctekk

    (@pctekk)

    Tried that – doesnt work, sorry :S

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I did ask whether you had a Custom CSS section or Edit CSS.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Install this Custom CSS Manager plugin and use its section of the dashboard to hold your CSS modifications.

    Edit: Link amended.

    Thread Starter pctekk

    (@pctekk)

    ah sorry – i just put your css into the main style.css in appearance – editor

    Thread Starter pctekk

    (@pctekk)

    Ok i downloaded the custom css manager (although im not sure why putting my css in there rather than the main css should change things??) and it still doesnt work :s

    thanks!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Unfortunately you’re going to have to use !important on your styles because the fancybox CSS is loaded after your CSS and overrides it.

    Use:

    #jquery-overlay {
     z-index: 200 !important;
    } 
    
    #jquery-lightbox {
     z-index: 201 !important;
    }

    When your Shuttershot theme updates (assuming that’s what you’re using), it’ll overwrite your CSS modifications if you’ve made them to the theme’s files. The Custom CSS Manager is a plugin and therefore is not affected by theme updates. It is also loaded after your main stylesheet and helps override styles.

    Thread Starter pctekk

    (@pctekk)

    Ah i understand what the plug in does now then, thanks!

    And perfect that works!

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Shuttershot Theme Prob’ is closed to new replies.