Site logo

Archived topic

Remove Widget Background

1 reply · Started by Vish on June 20, 2018

Viewing posts 1–2 of 2

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!

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 :)

This archived topic is closed to new replies.