• 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

Add Border Around Front Page Elements

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 › Add Border Around Front Page Elements

This topic is: not resolved

Tagged: border, crystal theme, css, custom code

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 6 months ago by Geopology.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 6, 2013 at 8:29 pm #77490
    Geopology
    Member

    Hi,

    I'm working with the Crystal theme. I would like to add a border around all of the front page widget elements like the Home-Right, Home-Middle, Home-bottom and footer areas.

    Once the border is added I would keep the enclosed area white and add a gray background behind it.
    The site that I am currently working on: http://www.nleephotos.com/wordpress

    To see an example of what I'm trying to do visit: http://www.kamondaposada.com

    Any help would be appreciated it!

    http://www.nleephotos.com/wordpress
    December 7, 2013 at 8:52 am #77531
    Sridhar Katakam
    Participant

    Add the following in child theme's style.css:

    body {
        background: #333 !important;
    }
    
    #wrap {
        background: #fff;
        padding: 0 2em;
    }

    Genesis Tutorials | Follow me on Twitter

    December 7, 2013 at 11:57 am #77558
    Geopology
    Member

    Thank you!!! It worked perfectly!!

    December 7, 2013 at 12:29 pm #77564
    Geopology
    Member

    I think there is another issue. I can see the border on the website on the computer that I am using with browser Firefox. However, I am unable to see the background on any other device (ie. Ipad, Android or other laptop).
    Is there something I'm missing? I used the code exactly as you posted it.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2026 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