• 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • https://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

    Thread Starter BenCurry

    (@bencurry)

    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.

    Thread Starter BenCurry

    (@bencurry)

    There is only the option for 1 value.

    My website is https://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.

    Thread Starter BenCurry

    (@bencurry)

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[plug-in – Ad Buttons] Help adjustin padding’ is closed to new replies.