[Resolved] Side bar Widget Image Resizing

Home Forums Support [Resolved] Side bar Widget Image Resizing

Home Forums Support Side bar Widget Image Resizing

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

    Hello support,

    Can i please get help in resizing the “Image inside the left-side-bar-widget” ?

    The test page link is as indicated below;

    I wanted to enlarge the image “Vertically + Horizontally” so that the text in the image can appears with reasonable clarity.

    Note: the image has a hyperlink to Optin-Pop-Up ShortCode.

    And I have set the Leftside-Widget-Setting as “HTML”.

    Also, I have inserted the shortcode with image hyperlink as;

    [thrive_2step id=’1774′][/thrive_2step]

    Will appreciate help and assistance.

    Thanks in advance.

    Sunil

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #681891
    David
    Staff
    Customer Support

    Hi there,

    this CSS will remove the padding from that first widget:

    .inside-left-sidebar .widget:first-child {
        padding: 0;
    }
    #681948
    Sunil

    Hello David,

    Thanks for your reply.
    Just a quick question, will the css for the second widget be

    .inside-left-sidebar .widget:second-child {
    padding: 0;
    }

    Will wait for your reply.

    Thanks
    Sunil

    #681958
    David
    Staff
    Customer Support

    Do you want all of the sidebar widgets to have 0 padding?
    If so then this:

    .inside-left-sidebar .widget {
        padding: 0;
    }

    If you want to target just the first and the second then we can select multiples like this:

    .inside-left-sidebar .widget:first-child, .inside-left-sidebar .widget:nth-child(2) {
        padding: 0;
    }
    #684107
    Sunil

    Thank you David.
    It works.

    #684215
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.