Spacing around Images

Replied by Traveller on topic Spacing around Images

Posted 5 years 4 months ago #50244
Thanks for your reply. The "margin: 0;" parameter removes the spacing at the top of the images only - and even then only when applied using Firefox's web inspector. When I change the statement in /media/plugin_system_imageffectck/css/imageeffectck.css, the spacing does not change! This makes me wonder whether I am editing the wrong file.

I now have to assume that the spacing that remains underneath the images is caused by the image being treated as text, with paragraph spacing revealed below??

Regards

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Spacing around Images

Posted 5 years 4 months ago #50245
the space at the bottom is given by the paragraph that wraps your images ;)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Traveller on topic Spacing around Images

Posted 5 years 4 months ago #50246
OK, Iunderstand that is a separate problem.

But why does my change (below) not work?
/* Common style */
figure[class*="effectck"] {
position: relative;
/*float: left;*/
overflow: hidden;
margin: 0;
/*min-width: 320px;*/
/*max-width: 480px;*/
/*max-height: 360px;*/
/*width: 48%;*/
background: #3085a3;
text-align: center;
cursor: pointer;
display: inline-block;
will-change: transform;
}

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Spacing around Images

Posted 5 years 4 months ago #50259
in this file, the change has not been made line 32
79.170.40.166/jadance.co.uk/templates/sp...ck/imageeffectck.css
you still have
margin: 10px 1%;

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Traveller on topic Spacing around Images

Posted 5 years 4 months ago #50275
Thankyou for your help with this - it is appreciated!

I now have the setup I need thanks to your help and also the inclusion of a new paragraph spacing class in the css.

Please Log in or Create an account to join the conversation.

Time to create page: 0.699 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1059 guests and no members online