Hi,
I am using the add buttons plug-in and i want to change the spaces between my adds without altering the spacing above and below them.
There is a padding option in the settings menu but that adjusts all the way around the ad.
Regards
Ben.
Hi,
I am using the add buttons plug-in and i want to change the spaces between my adds without altering the spacing above and below them.
There is a padding option in the settings menu but that adjusts all the way around the ad.
Regards
Ben.
http://www.w3schools.com/css/css_padding.asp
particular the shorthand property:
padding:25px 50px 75px 100px;
top padding is 25px
right padding is 50px
bottom padding is 75px
left padding is 100px
Thanks for the fast reply,
I am pretty sure that i can figure out how to change the size of the padding, the problem i am having is finding where i can edit the sizes.
It is a widget/plug-in and i cant fing the css sheet for it.
There is a padding option in the settings menu but that adjusts all the way around the ad.
does this option not allow to enter the four values for padding?
also, if you post a link to your site, someone might have a look and identify the css style to change.
not all plugins have a style sheet; they rely on the user to add the relevant styles to style.css of the theme.
There is only the option for 1 value.
My website is http://www.baddice.co.uk
I have googled ad buttons and apparently there is no style sheet for that plug-in. How do i alter this in the style sheet?
Cheers
Ben
you can force a style on the images by adding this to the end of style.css:
#ab_adblock a { padding: 0px 5px 0px 5px!important; }
the !important directly in the style tells the browser to use this style and disregard other styles for that element.
Thanks!
This topic has been closed to new replies.