Skip to content
Public Ticket #9133

Reduce right sidebar width

Conversation thread

Oliver replied

Customer Reply

ok great. thanks a lot for the input :-)

PenciDesign replied

Staff Reply

Hi,

This issues caused by plugin WP Rocket.

This plugin will make all WordPress site can't be validate on AMP.

So, please clearly the cache and remove that plugin.

And, you can check this guide to know how to optimize your site speed:

https://pencidesign.ticksy.com/article/11405

Best Regards,

PenciDesign

Oliver replied

Customer Reply

great thanks a lot

PenciDesign replied

Staff Reply

Hi,

As I said before - if you use auto ads for single post - please don't put anything to "Add Ads Inside Posts Content" because Google auto ads will make it doesn't appears correct.

Best Regards,

PenciDesign

Oliver replied

Customer Reply

I have set auto ads only for blog articles. In other places i use your theme position and ad inserter for in-feed ads.I just like to have the auto-ads for in-article done (i already applied the setting in adsense for this)

Please let me know what the value of "Add Ads Inside Posts Content After How Many Paragraphs" should be ?

thanks

PenciDesign replied

Staff Reply

Hi,

If you're using Auto ads - the ads will auto appears in random places.

So, there is no need to put the ads code for options for google adssmile.png

Best Regards,

PenciDesign

Oliver replied

Customer Reply

Sorry, please do not close the ticket as of now as i have a couple more questions in regards of adsense:

1. I like to add adsense "auto ads" into Single Post only
Do i have to set the field "Add Ads Inside Posts Content After How Many Paragraphs?" at "0" or at what value?

Thanks :-)

Oliver replied

Customer Reply

thanks a lot, please close the ticket as everything is taken care of :-)

PenciDesign replied

Staff Reply

Hi,

You should contact with author of that plugin and ask them about that. We don't develop that plugin, so we don't know.

Best Regards,

PenciDesign

Oliver replied

Customer Reply

just checked and it comes from the ad inserter plug in (adsense). I have disabled it and the issue disappeared. any idea of how to solve?
PS: with adsense i will contact them 


Thanks,

Sunantha

PenciDesign replied

Staff Reply

Hi,

1/ Have you deactivate all plugins and check it again? Because I didn't see that issue before.

If it work, let's enable each plugin to check what's plugin caused this issue.

2/ I don't know about that issue.

You should ask google adsense supports for that requirement.

Best Regards,

PenciDesign

Oliver replied

Customer Reply

Thanks code works very well. I have one issue and one other question (both see screenshot):
1. After i have updated, inside the Theme Appearance Customize the website is just showing in a tiny window. How to fix
2. Can i add "above the adsense" code a small message  like "Advertising Continue to read below". Is it allowed by adsense policy, and if yes what code would i need to add

See both screenshots

Thanks,
Sunantha

PenciDesign replied

Staff Reply

Hi,

1/ To change the container width, please remove the code you added before and add more this code to Customize > Custom CSS:

@media only screen and (min-width: 1170px) {
.container{ width: 1300px; }
}

Change value 1300 to value as you want.

2 & 3/ To change the sidebar & post content width, please add more this code to Customize > Custom CSS:

@media only screen and (min-width: 1170px) {
.penci-sidebar-content{ width: 25%; }
.penci-single-style-10 .penci-single-s10-content, .container.penci_sidebar #main{ width: 75%; }
}

Change values 25 & 75 on above code to values as you want. Make sure total of that 2 values is 100.

Example:  24 & 76

Best Regards,

PenciDesign

Oliver started the conversation

Conversation Start

Hi,

my right side bar width is too big. I need to narrow it down. Please see:

https://www.fengshuibalanz.com/fengshuitips/top-32-feng-shui-mistakes

The right side bar is only on the single blog pages. I have noticed that the width of the article body is too narrow and the big adsense ads are cut off.

I have the following code in customs css to make the theme wider in general on the screen:

.container {
width: 90%;    
}
Can you please provide me with the code to
a/ leave the same total container width
b/ reduce the right side bar width
c/ and increase the main blog post body (article) width


Thanks in advance,

Sunantha


Want to join this conversation or access attachments? Sign in first.