Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2122909
Reduce right sidebar width
Closed

Comments

  • Oliver started the conversation

    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


  •  2,699
    PenciDesign replied

    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 replied

    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

  •  2,699
    PenciDesign replied

    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

    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

  •  2,699
    PenciDesign replied

    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

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

  • Oliver replied

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

  •  2,699
    PenciDesign replied

    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

    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

  •  2,699
    PenciDesign replied

    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

    great thanks a lot

  • Oliver replied

    Hi, i got some amp error, can you please advise of how to fix:

    A tag on this page requires an AMP component 'script' tag, which is missing.

    https://www.fengshuibalanz.com/amp/shop
    https://www.fengshuibalanz.com/amp/
    https://www.fengshuibalanz.com/amp/flying-star

  •  2,699
    PenciDesign replied

    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

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