WordPress.org

Ready to get started?Download WordPress

Forums

WP-Backgrounds Lite
[resolved] Adding a margin-bottom (or padding-bottom)?? (4 posts)

  1. vinchoz
    Member
    Posted 1 year ago #

    Hello,

    I'm looking for adding a margin or padding bottom to the #supersized... i have a bottom menu fixed which is 150px high and i don't want the pics go under it

    Is there a solution?
    I tried with this method:

    https://github.com/buildinternet/supersized/issues/72

    but it didn't work for me...
    Did somebody already resolve this?

    already many thanks

    Vinchoz

    http://wordpress.org/extend/plugins/wp-backgrounds-lite/

  2. InoPlugs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    The supersized element has a fixed position - thus you should be able to move it with the css top attribute like:

    #supersized{
    top:150px;
    }
  3. vinchoz
    Member
    Posted 1 year ago #

    Thank's for the real fast answer.

    I thought about this solution but i need the "space" in the bottom screen.
    My BOTTOM navigation is 150px high... and i would have #supersized height = 100%-150px ...
    And the images also: height = 100%-150px

    Do i have to "play" with the JS?

  4. InoPlugs
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, unfortunately you'll need to rewrite the supersized script. You can find the source code here: https://github.com/buildinternet/supersized/blob/master/slideshow/js/supersized.3.2.7.js

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic