• 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

Prose – Add Thin Border Line to top of pages

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 › Prose – Add Thin Border Line to top of pages

This topic is: resolved

Tagged: custom border, genesis, Prose

  • This topic has 10 replies, 3 voices, and was last updated 12 years, 9 months ago by nubloggie.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • June 30, 2013 at 11:16 pm #48623
    nubloggie
    Member

    I've managed to add a "top border" to my site with some trial-and-error css i figured out and added to my Custom CSS (I'm a CSS noob, btw...)

    body {
    		
    border-top:10px solid #6799CE;
    	
    }

    My question is - how do i get it to appear on all PAGES across my entire site? It's part of the site's color branding, but currently, it only seems to show up on POSTS, and not on PAGES...

    Thanks in advance!

    http://www.livingaha.com
    July 1, 2013 at 12:19 am #48630
    dev
    Participant

    You'd want to put the CSS code in the #header, not the body... like:

    #header {
    border-top-color: #00F;
    border-top-width: 5px;
    border-top-style: solid;
    }
    

    http://www.NewMediaWebsiteDesign.com

    July 1, 2013 at 1:03 am #48631
    nubloggie
    Member

    thanks for taking the time to reply dev.

    Unfourtunately it didn't work.... as you can see at https://www.dropbox.com/sh/bj7cb0ggzvvg2mi/ZH2ef5NsWq , the border is now only as wide as the header, and there's a space of white at the top.

    Looks like if i go this route, I'll have to move the #header above the body/wrap, but that's a whole other level of hooks and css to make it responsive, which both elude me...

    any ideas?
    thanks again!

    July 1, 2013 at 7:19 am #48656
    dev
    Participant

    This worked for me using Google Inspect Element.

    #header {
    background: url(http://livingaha.com/wp-content/uploads/2013/05/LivingAha-uncover-greatness31.jpg) no-repeat;
    border-top-color: #00F;
    border-top-width: 5px;
    border-top-style: solid;
    }
    

    You have minify turned on. Suggest you turn it off if you want people to be able to see your CSS and help you.
    http://jlongino.com/genesis-and-prose-updating-design-settings/

    http://www.NewMediaWebsiteDesign.com

    July 1, 2013 at 7:31 am #48659
    nubloggie
    Member

    I still come up with the same thing..... strange.

    my origional #body CSS looks the way i want it - i just need it to display on PAGES, and not just posts. Is there a POSTS stylsheet i could add the same code to?

    Anyhow, i turned minify off, thanks for the tip.

    Appreciate your help. Thanks.

    July 1, 2013 at 7:51 am #48663
    dev
    Participant

    Well, all I see is a minified CSS in Chrome Inspect, so there is not much I can do to help.

    When I paste the above code into Inspect Elements "header" area, it get a nice blue header line. Try it yourself.

    I don't know the prose theme so maybe it uses different constructs than other SP offerings.

    Maybe someone else who knows this theme can be of help.

    July 15, 2013 at 6:23 am #50757
    nubloggie
    Member

    Dev, thanks, but when I paste the above code in, i get a blue line at the top of my header image, but below my nav pane...

    I'm looking for the same, full-length blue line that appears across the entire screen Here: http://www.livingaha.com
    to appear also the same way here as well: http://livingaha.com/why-living-aha/

    Any thoughts?: I beleive the minify css is off now....
    thanks again.

    July 15, 2013 at 8:30 am #50782
    eamonmoriarty
    Participant

    In style.css you have this:

    .page {
    border: none;
    }

    If you change it to:

    .page
    {
    border-top:10px solid #6799CE;
    }

    I think that will work.

    I'm not sure if adding it to your custom.css will work or not.


    Eamon Moriarty
    EM Dzine

    July 15, 2013 at 8:55 am #50787
    nubloggie
    Member

    Thanks eamonmoriarty it did work...sort of (I just added it to the style.css btw)

    One strange issue i am having though - if you go now to
    http://livingaha.com/why-living-aha/
    you can see that it also added a top border above the page title. When i remove the CSS code you gave me, both the top Border and the short one above the page title dissapper, and when i add the CSS code, both Borders show up...

    Any thoughts? could it have to do with the fact that i moved the nav menu above the wrap?

    thanks for your help.

    <?php
    /** Do not remove this line. Edit functions below. */
    /** Move primary nav menu */
    remove_action( 'genesis_before_header', 'genesis_do_nav' );
    add_action( 'genesis_before', 'genesis_do_nav' );
    July 15, 2013 at 10:21 am #50797
    eamonmoriarty
    Participant

    Try adding

    #content .page 
    {
    border-top: 0px;
    }

    to your style.css


    Eamon Moriarty
    EM Dzine

    July 17, 2013 at 6:20 am #51124
    nubloggie
    Member

    that worked!
    Thanks a ton!!

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