x

Reduce padding around Image element

Where in the html/css code entry will I find the ability to alter the padding dimensions of images? I have text elements under each image on my site that I would like to position closer the bottom of the image itself. I've already minimized the paragraph line height in 'change fonts', which helped a little. But there is definitely padding around the image that I imagine can be reduced!

2,746 Views
Message 1 of 11
Report
1 Best Answer

Best Answer

Figured it out! It was in the ui-kit.less page (line 276). Consider this solved!

View Best Answer >

2,716 Views
Message 12 of 11
Report
10 REPLIES 10

hi..... i guess u have reduced the top and bottom image margins  at image level ??,  u can reduce  paragraph margins with html edits...   strongly recomend i make a copy of the website  , use the same theme, and try out things on said copy .

2,744 Views
Message 12 of 11
Report

Where exactly am I editing the HTML is my actual question.

2,738 Views
Message 12 of 11
Report

margin-bottom in my caseimage

or put in a line, margin-top: 0px;      which ever u need        thats   whats i did...

2,735 Views
Message 12 of 11
Report

Awesome - but which page on the code editor?

2,732 Views
Message 12 of 11
Report

i dt know what theme u r using..๐Ÿ˜‰

.... u need the global styles...   under mains.less....   or not as the case may be. each theme is coded differently   but the idea is the same

2,730 Views
Message 12 of 11
Report

Oh, ok. I'm using the Modus Operandi theme. I've been looking through all of the editor pages, especially global.less. Main.less only had a very short block of code, looks like style page list. 

I'm not coming across that particular block of code or anything referring to paragraphs. I must be looking in the wrong place!

2,720 Views
Message 12 of 11
Report

Best Answer

Figured it out! It was in the ui-kit.less page (line 276). Consider this solved!

2,718 Views
Message 12 of 11
Report

Oh thanks @tomorrowstops 

yup ur welcome  ๐Ÿ˜จ๐Ÿ˜จ๐Ÿ˜จ

2,712 Views
Message 12 of 11
Report

Thanks @whitemonkey !

2,710 Views
Message 12 of 11
Report

๐Ÿ˜‰
1,271 Views
Message 12 of 11
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.