[Resolved] Remove Widget Background

Home Forums Support [Resolved] Remove Widget Background

Home Forums Support Remove Widget Background

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #604908
    Vish

    Hello there, Super Awesome GP Support Team!

    Could you please help me with the below?

    I have 5 widgets in the right sidebar. The top one is an Adsense Ad and the rest are widgets containing links to various other articles in the site.

    What I am trying to achieve:
    1. Remove the white background ONLY for the first widget (Adsense). NOTE: I do not have this Adsense Ad Unit widget in the homepage. It is present only in the single posts page.
    2. I want to center align the widget (and in turn, the Adsense Ad).

    I have included a link to a page in my site; do take a look!

    Thanks!

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #604953
    Leo
    Staff
    Customer Support

    Hi there,

    1. We can remove the padding of that widget using this CSS:

    .extendedwopts-hide.extendedwopts-mobile.extendedwopts-md-center {
        padding: 0;
    }

    The rest of the white background is actually coming from the ad itself so it cannot be changed within GP. It has a fixed size of width: 269px; height: 600px;
    You’d have to find a way to modify that ad. Perhaps checking with Google ads support.

    2. Similar problem as #1. The alignment isn’t coming from the theme either. I think if you solve #1 then this should might be resolved as well.

    Let me know if this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.