Tagged: x
-
AuthorPosts
-
April 1, 2016 at 7:02 pm #863268
Hi,
I am trying to figure out how to reduce the size of a gap that is below a thumbnail image, and above a text box.
Both the image and the text are in the same column of the same row. (I want to repeat this effect for all of the image+text groupings on the page. There are 10 image+text groupings.)
If you look at my site (posted in a private thread below), you will see an image under the heading “Shop by Brand”. Under the image is the text “Evolution HDMI 1×2 4k2k Splitter”. I want the text between the image and the text to be only 15px.
I played with the margins on the image and the text, and can’t figure out why they won’t scoot closer together.
Can you please help me?
Thank you!
ShannonApril 1, 2016 at 7:03 pm #863271This reply has been marked as private.April 2, 2016 at 7:41 am #863731Hi there,
Please add the following code in Customize -> Custom -> CSS :
a.x-img.x-img-link.x-img-thumbnail { margin-bottom: 15px; }
Hope it helps.
April 4, 2016 at 11:31 am #866194That worked great, thank you!
I would absolutely love it if the theme had some kind of glossary of class selectors for various pieces so I could just look them up. I usually get close to figuring it out. In this case, I didn’t have the “x-img-thumbnail” portion.
I really appreciate the help!
April 4, 2016 at 8:25 pm #866892Hi there,
We have included some common css classes on our knowledge base section (https://community.theme.co/kb/css-class-index/), however we are planning to update those content in the future.
Thanks!
April 7, 2016 at 12:46 pm #871560Thank you for the link!
April 7, 2016 at 10:36 pm #872270You are most welcome. 🙂
-
AuthorPosts