• 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

Styling Help

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 › Styling Help

This topic is: resolved

Tagged: css

  • This topic has 20 replies, 3 voices, and was last updated 10 years, 11 months ago by Jesse.
Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →
  • Author
    Posts
  • November 13, 2014 at 1:56 pm #131453
    Jesse
    Member

    Hello,

    I'm using the Enterprise Pro child theme. I'm hoping someone can help me code for my hyperlinks to be underlined until I hover. Just for hyperlinks in posts and pages and not post titles.

    Also, I'm looking to have the same styling for my collapse o matic plugin text. Here is what I've tried so far but it doesn't work...

    .s4 {
    font-color: #31b2ed;
    font-size:18px;
    text-decoration: underline;
    }

    With this in my post where I want the text to be hidden...

    [expand title="test" trigclass="s4"]

    You can see the plugin in action toward the bottom of this post...

    http://ultimatehealthpodcast.com/welcome/

    Thank you!
    Jesse

    http://ultimatehealthpodcast.com
    November 13, 2014 at 10:36 pm #131486
    Davinder Singh Kainth
    Member

    For underlined links in posts and pages, add following code to style.css file before media queries section.

    .content a {
    text-decoration: underline;
    }
    
    .content a:hover {
    text-decoration: none;
    }

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

    November 13, 2014 at 10:38 pm #131487
    Davinder Singh Kainth
    Member

    Your collapse o matic text "test" is already underlined. Do you want to remove underline when expanding or hovering over it?


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

    November 14, 2014 at 8:41 am #131498
    Jesse
    Member

    Thanks so much Davinder!

    I'm looking to have the collapse o matic text the same colour and style as other hyper links... blue and underlined until hovered. The plugin has a spot for css. You can see above the code I tried using for the plugin above.

    As for the posts and pages... I'm not sure what you mean by before the media queries section. Please help out a rookie 😉

    Thanks,
    Jesse

    November 14, 2014 at 9:16 am #131503
    paulag01
    Member

    Before the media queries means -- at the bottom of your CSS file you will see a section that starts

    /*
    Media Queries
    ---------------------------------------------------------------------------------------------------- */

    Put the code before there.

    November 14, 2014 at 9:52 am #131514
    Jesse
    Member

    Thanks Paula that worked great but how can I set it so the blog post titles are left untouched (not underlined)?

    November 16, 2014 at 7:40 am #131724
    Davinder Singh Kainth
    Member

    Do you want to have underline style for blog title like "001: Welcome To The Ultimate Health Podcast" here - http://ultimatehealthpodcast.com/welcome-ultimate-health-podcast/ ?


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

    November 16, 2014 at 1:31 pm #131753
    Jesse
    Member

    yes Davinder those are the underlines im trying to remove and i want to leave the rest of the hyperlinks underlined 🙂

    Any idea on the coding for that?

    Thanks,
    Jesse

    November 16, 2014 at 11:32 pm #131803
    Davinder Singh Kainth
    Member

    Ok, then perform following steps:

    1. Remove the following from style.css file

    .content a {
    text-decoration: underline;
    }
    
    .content a:hover {
    text-decoration: none;
    }
    

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

    November 16, 2014 at 11:33 pm #131804
    Davinder Singh Kainth
    Member

    2. Look for following code

    a {
    	color: #31b2ed;
    	text-decoration: none;
    }
    
    a:hover {
    	color: #333;
    }
    

    change this to...

    a {
    	color: #31b2ed;
    	text-decoration: underline;
    }
    
    a:hover {
    	color: #333;
            text-decoration: none;
    }
    

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

    November 17, 2014 at 6:17 pm #131919
    Jesse
    Member

    Hey Davinder! Thanks for the idea but the post titles are still underlined and now the header title is underlined too. Any other ideas?

    Thanks!

    November 18, 2014 at 6:48 am #131977
    Davinder Singh Kainth
    Member

    Ok, make following changes.

    1. Look for following code

    .site-title a,
    .site-title a:hover {
    	color: #31b2ed;
    }

    change this to...

    .site-title a,
    .site-title a:hover {
    	color: #31b2ed;
            text-decoration: none;
    }

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

    November 18, 2014 at 6:49 am #131978
    Davinder Singh Kainth
    Member

    2. Look for following code

    .entry-title a,
    .sidebar .widget-title a {
    	color: #333;
    }

    change this to...

    .entry-title a,
    .sidebar .widget-title a {
    	color: #333;
            text-decoration: none;
    }

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

    November 18, 2014 at 8:50 am #131996
    Jesse
    Member

    Thanks Davinder!

    Last two things with the styling...

    How do I make it so hyperlinks within posts and pages stay the same colour blue instead of going black when I hover over them? The underline disappearing is perfect 🙂

    The Menu titles are now underlined... How do I remove those?

    I really appreciate all the help!

    Cheers,
    Jesse

    November 19, 2014 at 1:17 am #132082
    Davinder Singh Kainth
    Member

    1. For hyperlinks hover color, look for this code

    a:hover {
    	color: #333;
            text-decoration: none;
    }
    

    change it to

    a:hover {
    	color: #31b2ed;
            text-decoration: none;
    }
    

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

    November 19, 2014 at 1:18 am #132083
    Davinder Singh Kainth
    Member

    2. For menu items, look for following code

    .nav-primary,
    .nav-primary a {
    	color: #fff;
    }

    change this to

    .nav-primary,
    .nav-primary a {
    	color: #fff;
            text-decoration: none;
    }

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

    November 19, 2014 at 8:27 am #132118
    Jesse
    Member

    That worked great... thanks!

    The last thing is the menu titles under my header are underlined... how can i remove the underline there? Those changed to underlined when we changed some of the code above.

    Thanks again.
    Jesse

    November 19, 2014 at 11:20 pm #132244
    Davinder Singh Kainth
    Member

    I see you have not updated style.css file with above code.

    Change this code

    .nav-primary,
    .nav-primary a {
    	color: #fff;
    }

    to this code...

    .nav-primary,
    .nav-primary a {
    	color: #fff;
            text-decoration: none;
    }

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

    November 20, 2014 at 9:36 pm #132346
    Jesse
    Member

    Thanks for all the help Davinder! YOU ROCK!

    November 21, 2014 at 11:54 pm #132475
    Davinder Singh Kainth
    Member

    Welcome !


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

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →
  • 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