Margin between a gallery image box and a widget in frontpage

  • Unknown's avatar

    Hello. I use Dynamic News Theme in wordpress.com

    I’m trying to reduce the margin between a gallery image box and a widget in the frontpage of my wordpress.com page. I put this css code:

    #frontpage-slider-wrap .widget {
    margin-bottom: .6em;
    }

    But there are no changes with that code. What’s the problem? What code should I put?

    The blog I need help with is: (visible only to logged in users)

  • Hi there.

    I think the problem is you need to delete “.widget” at the selector’s end. Although I think you would maybe use a bigger value than .6em, you an use this code:

    #frontpage-slider-wrap {
    margin-bottom: .6em;
    }

    Explanation: .widget would be used to select an area classed as widget inside your slider to apply this margin value. But there are no widgets inside your slider and in addition what you would like to reduce -if I understood you- is your slider border.

    I hope this helps.

  • Unknown's avatar
  • The topic ‘Margin between a gallery image box and a widget in frontpage’ is closed to new replies.