[Resolved] Sidebar image full width

Home Forums Support Sidebar image full width

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #936684
    Charlotte

    Hello, what is the best CSS to use to remove left and right padding from images in the sidebar? I am happy with the padding options for text but would like the images to be full width.
    Thanks
    Charlotte

    #936766
    David
    Staff
    Customer Support

    Hi there,

    so this method requires you to target the specific widget by its ID this one is the last widget image in the sidebar:

    #text-30 {
        padding-left: 0;
        padding-right: 0;
    }
    #text-30 .widget-title {
        padding-left: 25px;
        padding-right: 25px;
    }

    I notice that image is set to align left which makes it float left, advisable that is left centered for this to work.

    #938120
    Charlotte

    Thanks very much

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