- This topic has 3 replies, 2 voices, and was last updated 8 years, 4 months ago by Pratik.
-
AuthorPosts
-
July 16, 2016 at 8:08 pm #95555AnthonyParticipant
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
July 17, 2016 at 10:48 am #95576PratikParticipant@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,
PratikJuly 17, 2016 at 7:36 pm #95589AnthonyParticipantTHANK YOU SO MUCH, it worked perfectly! You have no idea how incredibly happy I am, now finally being able to release my site!
July 18, 2016 at 12:55 pm #95623PratikParticipant@ariannacaiazzo: Glad it worked out. Thank you for using our theme.
-
AuthorPosts
- The topic ‘Changing width of header and slider messes up my image gallery’ is closed to new replies.