How to make pages full-width to support shortcode elements

Asked on October 5, 2015 in Customization.

Hi Guys

Been trying out Layers for the last couple of days and I really like it. I use WP Canvas Shortcode for my website, especially the “full width” shortcode for images within posts.

Not sure why but it doesn’t seem to work with the layers theme, is this something you have come across before and know of a fix?

Thanks

Andrew

drewstain Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on October 5, 2015.

    Hi there,

    The Layers page content area is boxed, which means it has styling that limits its width to a specific width. Your shortcode can only full width something within this area to that limit.

    To use a plugin like this one or other post content shortcodes like Aesop Story Engine, you need to use custom CSS to change the page layout to 100% wide. The width of elements in your post in this case, including the text, depends on how you format it with your shortcodes or layout plugin.

    If you want to allow this on all pages that use the Default page template, you can add this to the CSS panel in the Customizer:

    .page-template-default .container.content-main{max-width: 100%;}

    To remove the padding:

    .page-template-default .container.content-main{padding: 4% 0;}

    First to teach that how to make this you shloud must come up to create the simple page of the web. I tell you about the site and give some beneficial essay roo review in which you learn to solve your problems with satisfaction and do work with better experience and learning.

    on December 21, 2019.

    If I I been thinkin’ about what I want in my life. It begins and ends the samehad to choose what I couldn’t lose. There would only be one thing. I don’t wanna live without you super smash flash 2

    on February 15, 2020.

    it is very easy you just need to watch some video for this and create one account for this. If you want a complete tutorial for this then visit our site where you get complete information about this in video form.     software security lifecycle

    on July 8, 2020.

    In this blog, you will read how to cancel Mcafee automatic renewal

    on August 27, 2020.

    I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. https://royalcbd.com/pennsylvania/

    on August 28, 2020.

    So many people are writing very coolest and amazing articles on the internet now. There is so much reading material is available on the internet and https://www.geekgirlauthority.com/why-msi-gaming-laptops-are-perfect-for-any-kind-of-gamer/ is my most favorite website. And people can read and such type of informative blogs.

    on August 29, 2020.

    Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. www.weboffsetchampions.com

    on September 8, 2020.

    Sewer, sink, drain, tank, toilet, leak hunting, water jetting, septic tank cleaning, Fair Price 20% cheaper than the unblocking market average We serve all of Greater São Paulo, Litoral and Interior Access Now. desentupimento em geral

    on September 8, 2020.

    I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. anabolic steroids examples

    on September 9, 2020.

    Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It ‘s really very nice and Useful post.Thanks northern beaches air conditioning services

    on September 9, 2020.

    Quel genre de café recherche-vous ?  Découvrez nos 100% Arabica, décaféinés, cafés biologiques. Meilleurs cafés à prix attractifs. expresso

    on September 9, 2020.

    Wow, this is really interesting reading. I am glad I found this and got to read it. Great job on this content. I like it. i99bet

    on September 9, 2020.

    Extremely pleasant article, I appreciated perusing your post, exceptionally decent share, I need to twit this to my adherents. Much appreciated!. bigg boss telugu vote

    on September 16, 2020.

    Randy Goodwin will help you remove the obstacles holding back from your spiritual destiny. Cancel and remove the cycles of poverty, addictions, adversity. Break family curses from the root ! . Get rid of demons. Uncover hindering issues. Randy Goodwin

    on September 17, 2020.
    If you don”t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries. Headphones
    on September 17, 2020.

    Impressive web site, Distinguished feedback that I can tackle. I am moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards 먹튀검증사이트

    on September 24, 2020.

    I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. 먹튀검증업체

    on October 29, 2020.

    Your work here on this blog has been top notch from day 1. You’ve been continously providing amazing articles for us all to read and I just hope that you keep it going on in the future as well. Cheers! 토토커뮤니티

    on November 1, 2020.
    Reply