• Resolved SteveHale

    (@stevehale)


    Hi There

    I have scrollbars=”no” in the line but still scroll bar shows.

    Any ideas please?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author cubecolour

    (@numeeja)

    I don’t see any popup links on the page you have linked to

    Thread Starter SteveHale

    (@stevehale)

    Sorry I linked you to the actual page! Silly me.

    The correct link is: https://roundwoodhouse.com/things-to-do/around-and-about

    Then click on the links.

    Also can I use percentages instead of pixel size as this will work better on various screen sizes?

    Cheers

    Steve

    Plugin Author cubecolour

    (@numeeja)

    The browser is probably overriding the scrollbar setting if there is content off screen.

    Try adding the following CSS

    body.page-layout-hide-masthead {
    overflow: hidden;
    }

    Percentage values are not supported by the plugin.

    Thread Starter SteveHale

    (@stevehale)

    Thanks

    Does this CSS just go into custom CSS for the theme?

    Plugin Author cubecolour

    (@numeeja)

    You can add this to the custom CSS section of the WP customizer

    Thread Starter SteveHale

    (@stevehale)

    The CSS did not have any effect. In all browsers (Firefox, Chrome, Safari) the scroll bar remains.

    Any other thoughts/ideas?

    Cheers

    Steve

    Plugin Author cubecolour

    (@numeeja)

    The following might work, but check that this does not prevent scrollbars from appearing on other pages of the site where they should appear.

    html,
    body.page-layout-hide-masthead {
    	overflow: hidden;
    	height:100%;
    	width:100%;
    }
    Thread Starter SteveHale

    (@stevehale)

    Yeah that kills the scroll bar on all pages!

    Steve

    Plugin Author cubecolour

    (@numeeja)

    If the experimental “:has” psuedo element was available to use in CSS it would be possible to limit the CSS selector to select on the body element only when it has a specific class (in this case the body class ‘page-layout-hide-masthead’)

    This CSS would need to be added only on the popup pages that specifically need it. How to best do this probably depends on your theme

    Thread Starter SteveHale

    (@stevehale)

    Thanks

    With the help from Alex of Site Origin we have found a way of achieving an half way acceptable result.

    Wrapping the shortcode around the image works well by the way.

    Cheers

    Steve

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Scroll bar still showing’ is closed to new replies.