Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #95555
    Anthony
    Participant

    I need only my header and featured image slider to be 770px, but when I use

    .woocommerce img, .woocommerce img-page{
    max-width: 770px;
    }

    it makes the gallery that I have on my homepage in the featured content section go all out of whack. I’ve tried to exclude the gallery from the width restrictions, but then it excludes both the image slider and header from the restriction as well. Please please please help! My site is: http://www.sneaksthatspeak.com

    #95576
    Pratik
    Keymaster

    @ariannacaiazzo: The CSS you have added will be used for all images as your main body has classes .woocommerce .woocommerce img-page.

    Now, to limit the slider image and header image to 770px, try using following CSS code instead:

    
    #feature-slider img,
    #header-featured-image img
    {
        width: 770px;
    }
    

    Let me know how it goes.

    Regards,
    Pratik

    #95589
    Anthony
    Participant

    THANK YOU SO MUCH, it worked perfectly! You have no idea how incredibly happy I am, now finally being able to release my site!

    #95623
    Pratik
    Keymaster

    @ariannacaiazzo: Glad it worked out. Thank you for using our theme.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Changing width of header and slider messes up my image gallery’ is closed to new replies.