• 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

Change colour of grey lines (borders)?

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 › Change colour of grey lines (borders)?

This topic is: not resolved
  • This topic has 8 replies, 2 voices, and was last updated 11 years, 2 months ago by saltire.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 18, 2014 at 8:09 am #105725
    saltire
    Member

    Hi,

    I have a number of grey lines which I would like to change the colour of, I'm not sure if they are widget borders. I've tried using Firebug but I'm still struggling to identify.

    The lines are under the social media icons in the header widget under the title in the home top widget, recent post widget in the sidebar and the three footer widgets categories, archives and RSS feed.

    If possible I would like to change the three footer widgets to three different colours.

    Any help would be appreciated

    http://thinkaboutscotland.com/
    May 18, 2014 at 8:37 am #105733
    nutsandbolts
    Member

    The lines are actually an image, seen here in your CSS:

    .comment-respond h3, .entry-comments h3, .widget-title {
    background: url(images/lines.png) bottom repeat-x;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 16px;
    margin-bottom: 1.6rem;
    padding-bottom: 16px;
    padding-bottom: 1.6rem;
    text-align: center;
    text-transform: uppercase;
    }

    So to change them, you'd need to look at the image (lines.png) in your image folder and create a similar image for each of the footer widgets, then assign them like this:

    .footer-widgets-1 .widget-title {
    background: url(images/NEW-IMAGE-NAME.png) bottom repeat-x;
    }
    
    .footer-widgets-2 .widget-title {
    background: url(images/OTHER-NEW-IMAGE-NAME.png) bottom repeat-x;
    }
    
    .footer-widgets-3 .widget-title {
    background: url(images/THIRD-NEW-IMAGE-NAME.png) bottom repeat-x;
    }

    Hopefully that helps!


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    May 18, 2014 at 9:12 am #105738
    saltire
    Member

    Hi, thanks for getting back to me on this. I've had a look at this and although I'm still fairly new to all this I think I could make the changes.

    However I wonder if there is another way. Between the Home Bottom widgets the grey line is controlled by this code
    .home-bottom .featured-content .entry {
    border-bottom: 5px solid #E5E1DD;

    Is it possible to change the the other image lines to this?

    Thanks

    May 18, 2014 at 9:27 am #105744
    nutsandbolts
    Member

    Yes, you could use a border-bottom instead, so it would look more like this:

    .footer-widgets-1 .widget-title {
    border-bottom: 5px solid #E5E1DD;
    }

    And of course you could change the thickness and/or the color for each one.

    Edited to add:

    You'd probably have to tell each rule to remove the background, otherwise you might get both the image AND the border. So maybe this instead:

    .footer-widgets-1 .widget-title {
    border-bottom: 5px solid #E5E1DD;
    background: none;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    May 18, 2014 at 9:59 am #105748
    saltire
    Member

    Thanks Andrea, I'm almost there. I have deleted the image lines and replaced with the new code and I have the different coloured lines in place.

    The only problem I have is to make the spacing between the three footer widgets even.

    This is the code I now have:
    .footer-widgets-1 .widget-title {
    border-bottom: 5px solid #003366;
    margin-right: 36px;
    }
    .footer-widgets-2 .widget-title {
    border-bottom: 5px solid #35aa7f;
    margin-right: 36px;
    }
    .footer-widgets-3 .widget-title {
    border-bottom: 5px solid #003366;
    margin-right: 36px;
    }

    .footer-widgets-1,
    .footer-widgets-2 {
    float: left;
    }

    .footer-widgets-3 {
    float: right;
    }

    May 18, 2014 at 10:10 am #105750
    nutsandbolts
    Member

    Okay, try this...

    Take out the following:

    .footer-widgets-1, 
    .footer-widgets-2, 
    .footer-widgets-3 {
    width: 332px;
    }

    and replace it with this:

    .footer-widgets-1,
    .footer-widgets-2 {
    	width: 33%;
    }
    
    .footer-widgets-3 {
    	width: 34%;
    }

    That seems to fix the spacing for me in Inspector.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    May 18, 2014 at 10:47 am #105753
    saltire
    Member

    That's perfect thanks. Not quite there with the other areas. for the header widget I have tried

    .site-header .widget-area {
    float:right;
    width: site-header 480px;
    }

    .header-widget.widget-title {
    border-bottom: 5px solid #003366;
    }

    But no line showing

    May 18, 2014 at 10:59 am #105763
    nutsandbolts
    Member

    Try using .site-header .widget-area .widget-title


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    May 18, 2014 at 1:51 pm #105777
    saltire
    Member

    Hi,
    I've made some of the changes I wanted, not all, but I'm happy with the result. So thanks again Andrea for your help I really appreciate you taking the time.

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