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;}

    on April 1, 2022.

    Thank you a bunch for sharing this with all of us you actually realize what you are talking about! Bookmarked. Please also seek advice from my site =). We could have a hyperlink change contract between us!먹튀검증

    on April 23, 2022.

    Thank you very much for this great post.laundry chute door closer

    on April 26, 2022.

    If you are looking for more information about flat rate locksmith Las Vegas check that right away. บาคาร่า มือถือ สมัคร

    on May 15, 2022.

    Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I’ll be sure to check back again real soon.Opensea NFT

    on May 21, 2022.

    You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this…forex signals

    on May 23, 2022.

    Thank you very much for this useful article. I like it.y2mate

    on May 24, 2022.

    This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.먹튀사이트

    on May 25, 2022.

    Looking for alternatives to KissCartoon? Here are the top 12 KissCartoon alternative websites to stream your favorite cartoons. KissCartoon

    on May 28, 2022.

    I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks!Punched Aluminum Veneer china manufacturers

    on May 29, 2022.

    Junk my car buffalo ny Are you looking to sell your junk car for cash in Buffalo, NY-Buffalo Junkyard provides the best cash offer with free towing service in Buffalo and … https://bobscashforjunkcarsbuffalony.com

    on June 5, 2022.

    Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers!trash chute closer

    on June 8, 2022.

    Read Manga Raw Online completely free update fastest, manhwa, manhua, raw manga, read manga online, manga scans, read manga, manga online manga raw

    on June 8, 2022.

    Swing by Rad Exotics in Southborough, Massachusetts and check out our inventory of quality used cars. rad exotics

    on June 9, 2022.

    We notion it really is a good idea to publish could anyone was initially having issues searching for however , My organization is a bit of dubious just have always been allowed to insert leaders together with contact regarding at this point. dinner cruise rio de janeiro

    on June 11, 2022.

    winner555 For today we will bring all the members of the online slots to get to know The most popular web slot 2021, which is another betting in the form of online games that are getting the hottest trend overnight winner555, straight web slots, easy to break with a format that is easy to play, get real money. Plus, it can also generate a substantial income as well. It can also create happiness. winner555

    on June 12, 2022.

    toner cartridges canada MVP Ink & Office is a one-stop online shop that provides the best Canadian-made print products. We provide printer inks, toner cartridges, … https://mvpinkandoffice.com/

    on June 12, 2022.

    An impressive share, I with all this onto a colleague who had previously been performing a small analysis for this. Anf the husband in truth bought me breakfast due to the fact I found it for him.. smile. So permit me to reword that: Thnx for that treat! But yeah Thnkx for spending plenty of time go over this, I feel strongly about it and adore reading much more about this topic. When possible, as you become expertise, might you mind updating your site to comprehend details? It can be highly great for me. Massive thumb up just for this text! Porto tourist attractions

    on June 14, 2022.

    100% Original Triple-T by DR Azlan. Dapatkan produk Triple Tea by Dr Azlan secara online dengan harga promosi. Mudah, cepat, dan dijamin selamat sampai. triple t

    on June 19, 2022.

    If you are on this page, there’s no doubt that you want to go on a trip to Marseille. But how well are you prepared for the plans and pleasures of the city? Marseille has always been an important part of France. It was the leading city in the French revolution and was also where the French national anthem was composed. Best kayak victoria falls

    on June 22, 2022.
    on June 25, 2022.
    on June 26, 2022.
    on June 26, 2022.
    on June 26, 2022.
    on June 26, 2022.
    on June 27, 2022.
    on June 27, 2022.

    very nice post, i certainly love this web site, continue it cruise tours johannesburg

    on June 28, 2022.
    on June 28, 2022.
    on July 2, 2022.
    on July 4, 2022.

    All Toto sites introduced by Tochamps are safe playgrounds and deposits are deposited. 안전놀이터

    on July 16, 2022.

    The field of interior design is focused largely on the planning, furnishing and decoration of indoor (domestic) spaces or commercial ones. interior designer and architect

    on July 16, 2022.
    on July 17, 2022.

    En suivant la formation pour devenir auto-entrepreneur, vous pouvez prendre le contrôle de votre vie et vivre comme vous le souhaitez. Il y a de nombreux avantages à devenir un auto-entrepreneur. Il s’agit notamment d’avantages fiscaux, de cotisations sociales et de procédures comptables simplifiées. Vous aurez également plus de flexibilité de temps, et pourrez travailler de chez vous ou en déplacement ! formation autoentrepreneur

    on July 18, 2022.

    We live in a fast-paced digital world of technology Watch With Solar System which has an impact on how people interact, learn, and perceive. It contributes to society and influences how individuals interact daily. In today’s world, technology plays a critical role. Watch With Solar System

    on July 20, 2022.

    This video course covers the basics of interior design, from the history of the field to contemporary trends. You’ll also learn about technical drawing and the science of color composition. decorating certification

    on July 20, 2022.

    printer cartridges MVP Ink & Office is a one-stop online shop that provides the best Canadian-made print products. We provide printer inks, toner cartridges, … https://mvpinkandoffice.com/

    on July 21, 2022.
    on July 22, 2022.

    When most people think of a roof, they only think of the shingles. A roofing system, on the other hand, is far more complicated. Roofs may appear to be simple, but they are actually quite difficult. There are numerous layers of materials to install, and they must be done in the correct order. <a href=”https://roofcare1.weebly.com/blog/signals-that-you-are-in-need-of-professional-roofing-companies”>can an architect be an interior designer</a>

    on July 25, 2022.

    When most people think of a roof, they only think of the shingles. A roofing system, on the other hand, is far more complicated. Roofs may appear to be simple, but they are actually quite difficult. There are numerous layers of materials to install, and they must be done in the correct order. can an architect be an interior designer

    on July 25, 2022.

    Over 30 years experience in roofing repairs, new roof installations and guttering in and around London, Surrey, Guildford, Epsom and Shepperton. Roof repairs Surrey

    on July 27, 2022.

    Taylor Lautner… By the way you might want to check out this cool site I found……skup aut Ruda Śląska

    on July 28, 2022.

    You really should get involved in a tournament for example of the best blogs online. I’m going to suggest this blog!situs bokep online

    on July 28, 2022.

    5 Star Roof Care have been providing Surrey & London quality and competitively priced roofing services for over 30 years. We offer a range of roofs for …Roof repairs Woking

    on August 1, 2022.

    the idea beach towel should be colored white because it reflects heat away’ <a href=”https://roofcare1.weebly.com/”>Roofer Epsom</a>

    on August 2, 2022.

    Asian Brothers Network is an experienced passport service company that can help you buy a registered passport online in no time.buy drivers license online

    6 days ago.

    Millions of students around the world use homework assistance to improve their academic results. The company works around the clock to meet the most .  https://heyportal.io/

    3 days ago.

    The recommended baccarat sites are all Evolution games, and in the event of any damage, the entire amount of damage is compensated as a guaranteed recommended casino game company.에볼루션카지노

    3 days ago.
    1 day ago.
    Reply