• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Best Way To Insert Full-Width Div Into Content?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Best Way To Insert Full-Width Div Into Content?

This topic is: not resolved

Tagged: full width

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 6, 2015 at 10:41 am #139948
    anotherusername
    Participant

    How is the best way to add a full width DIV (like a call to action) into the content area of a page or post?

    For example, on this page:

    Pricing for Real Estate Photography and Video In Marin County

    I have inserted a </div> to close the .entry-content div first, then inserted a full width CTA div, then closed THAT full width CTA div, then used another opening <div class="entry-content">. So it looks something lie:

    </div> <!-- closes entry content so the following div can be full width -->

    <div id="call-to-action-wrap"><h3>Our call to action text</h3>
    </div><!-- end call to action wrap to stop being full width-->
    <div class="entry-content"><!-- resume the normal .entry-content div for standard padding and margin -->

    It works ok, but is there an easier / better way to do it?

    Maybe remove the padding in the content entry div, then convert the p and h1 elements to block-inline, and assign them margins instead?

    Thanks in advance.

    http://www.marinhomephotography.com/pricing/
    May 6, 2015 at 3:20 pm #150493
    Susan
    Moderator

    As you posted this a while back, I hope you were able to resolve your issue. If it is resolved, please mark it "resolved", and we will close it.

    If you are still having issues, report back here, and I will try to escalate.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble