Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #927707

    Sorry, Basilis, I did not get this sorted out; my last question on this post that you just closed remains unsolved –

    https://kriesi.at/support/topic/follow-up-to-adjusting-margins-or-padding-in-a-widget/#post-927695

    I need to target just the first widget with the horizontal logo under the header to adjust the top and bottom margins to be 20px, and I need to also make that widget background black, please. Thanks again!

    #928284

    Hey webWahine,

    Sorry I understood from your message that we was supposed to close it.
    BUT I also cant understand which one is the latest question can you elaborate?

    Best regards,
    Basilis

    #928292

    Yes. If you look at my page –

    The area directly below the header with the tagline instead of a logo at left, and the menu, right, is what I need to tweak.

    The horizontal 8888 Osler logo is an image in a custom widget that I’ve called horizontal header. I would like to –
    1) make the background of just that one widget to be black
    2) make the padding above and below the logo to be 20px.

    Right now it seems to be some kind of default widget padding.

    Thanks again! :)

    #929392

    Hi,

    Please use a color section with a custom #ID assigned to it and set the padding to 0 in the color section option for the color section element.

    Using the unique ID assigned to the color section all the widget’s inside it can be targeted using the CSS

    #unique-ID .widget {}
    

    If you have an issue please perform the above steps and let us know.

    Best regards,
    Vinay

    #930090

    That worked really well! I had made a color section and placed a logo inside but the key was to target the widget so if I need to edit it I don’t have to change very instance on every page . Some code, below, to help others :) Thanks, Vinay!

    /* color section with unique id and widget inside */
    #logoHeaderWide .widget {
    margin: 0px 0px 0px 0px !important;
    background-color: #000 !important;
    }

    /* logo in widget */
    .horizontalLogo {
    width: 100% !important;
    height: auto !important;
    padding: 10px 0px 0px 0px !important;
    }

    #930866

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Follow up to adjusting widgets’ is closed to new replies.