How to add a margin under the home page slider?

  • Author
    Posts
  • #42449

    I have tried several of the classes and ids from the source to no avail. Please let me know how to add a margin/gap under the slider so the background image shows through. Like the gap/margin between the header image and the nav or the nav and the slider. Thanks.

    #42463
    Zed
    Cryout Creations mastermind

    The slider is located inside the content area which is placed on an even larger element that has the background.

    You cannot create transparent area (down to the background of the site) using margins and/or padding. You need to disable the general background first (by leaving the appropriate color field empty in the theme settings).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #42554

    After clearing the color callout for the content background (first box) I was able to use this CSS to adjust everything the way I wanted it. Thanks.

    #pp-afterslider {
    background-color: rgba(255, 206, 82, 0.8);
    margin-top: -20px;
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 2%;
    }

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to add a margin under the home page slider?’ is closed to new replies.