• 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

Creating a box to make text stand out Agency Pro

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 › General Discussion › Creating a box to make text stand out Agency Pro

This topic is: not resolved

Tagged: creating text box, enhancing text

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 5 months ago by Davinder Singh Kainth.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 12, 2014 at 8:46 am #89970
    welshgirl
    Member

    Hi,

    I'm using the Agency Pro theme and am a dummy when it comes to anything too technical (just mentioning that so that anyone kind enough to reply does so in plain English please!)...

    I have a few key pages that are exceptionally text heavy.

    I need to break them up.

    I've used headings, block quote, bold...

    But I'd quite like to be able to put the odd piece of critical info in a box or similar to make it visually impacting and to stand out on the page.

    How on earth do I do this please?

    I have been googling for html fixers and found nothing that is working for me.

    Is it possible to do it so I have <some html> my text </end of some html> and hey presto I have a box around my text?

    Any tips gratefully received - likewise - if you can think of any alternative/additional ways to make my text visually attractive and impactful I'd be grateful.

    Thanks so much.

    http://supportenvironment.com/scope-and-purpose/
    February 12, 2014 at 8:51 am #89972
    Davinder Singh Kainth
    Member

    You can use colorful content boxes as seen here - http://demo.studiopress.com/parallax/typography/

    To use them:
    1. Open style.css file and add the following code:

    /* Content Boxes
    --------------------------------------------- */
     
    .content-box-blue,
    .content-box-gray,
    .content-box-green,
    .content-box-purple,
    .content-box-red,
    .content-box-yellow {
    	margin-bottom: 30px;
    	overflow: hidden;
    	padding: 30px;
    }
     
    .content-box-blue {
    	background-color: #d8ecf7;
    	border: 1px solid #afcde3;
    }
     
    .content-box-gray {
    	background-color: #e2e2e2;
    	border: 1px solid #bdbdbd;
    }
     
    .content-box-green {
    	background-color: #d9edc2;
    	border: 1px solid #b2ce96;
    }
     
    .content-box-purple {
    	background-color: #e2e2f9;
    	border: 1px solid #bebde9;
    }
     
    .content-box-red {
    	background-color: #f9dbdb;
    	border: 1px solid #e9b3b3;
    }
     
    .content-box-yellow {
    	background-color: #fef5c4;
    	border: 1px solid #fadf98;
    }
    

    2. To use them within post, switch to html mode and add following code:

    <div class="content-box-blue">
    your text here
    </div>

    Similarly you can use different color by replacing blue with yellow, gray, red, purple, green.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    February 12, 2014 at 8:59 am #89974
    welshgirl
    Member

    Thank you so, so much that is exactly perfect!
    Thanks you!

    February 12, 2014 at 9:02 am #89975
    Davinder Singh Kainth
    Member

    Welcome 😉


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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