Home Forums Receptar Accent color borders when using adsense code

Viewing 4 posts - 11 through 14 (of 14 total)
  • Author
    Posts
  • #19145

    Oliver Juhas
    Keymaster

    Hi topkhoj,

    This is due to how the theme styles the <ins> HTML tag. And as Google Adds seems to be using this tag, it is styled the same way as other similar tags in the theme.

    Use this custom CSS to get rid of the side “border”:

    ins.adsbygoogle {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    Best regards,

    Oliver Juhas
    WebMan Design

    #19156

    topkhoj
    Participant

    Provided codes are not working. Lines are still present and the lines color is Accent color.

    #19157

    Oliver Juhas
    Keymaster

    Hi topkhoj,

    Please use your browser code inspector to determine how you need to adapt the CSS to work for your ads. Here is updated code:

    .adsbygoogle,
    .adsbygoogle ins {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    Best regards,

    Oliver Juhas
    WebMan Design

    #19160

    topkhoj
    Participant

    Thank you so much, Oliver.

Viewing 4 posts - 11 through 14 (of 14 total)

You must be logged in to reply to this topic.