Support » Plugins and Hacks » Press Page » Need help on width and positioning

Need help on width and positioning

  • Hello,

    I’m trying to get the width to be 100%, not 100 pixels. Any thoughts? I’ve been playing around with my custom CSS (that I copied from presspage.css) and modified it but it isn’t really overwriting the presspage.css for my child theme.

    Also, I have this shortcode written at the end of my copy in the Page > Edit Page > paragraph section, and yet it is floating to the top. I think this might be due to position: relative.

    I’ll keep playing in the meantime but thanks for creating a WordPress plugin! I was using the Smooth Div Scroll on a non-WP site already and I love it!


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chris Reynolds


    Try adding !important at the end of your CSS rules in your custom CSS. (e.g. width: 100%!important;) I’m guessing that the order of the stylesheets is preventing your styles from affecting the display.

    That worked… thanks! Still working on it floating to the top of my content.

    Plugin Author Chris Reynolds


    That may be due to how the shortcode is handling the markup, which is with an output buffer, which tends to run first, before other stuff is run on the page. You may be able to get around it by playing with the CSS, but it was originally written (and tested) to be sort of a full page thing — I’d need to adjust the code to just not use the ob to fix it completely.

    I think I’ll just place it at the top of my footer, using Hooks. This seems it could work.

    One more question… can I hide the Article title? I don’t need text below my images.

    Thanks for your timely responses today!

    Plugin Author Chris Reynolds


    If you just omit the article title, you can get around displaying it. Alternately, you can “cheat” by adjusting the height of the div with CSS so it cuts off right above the titles.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need help on width and positioning’ is closed to new replies.
Skip to toolbar