• 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

Setting color for specific links

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 › Setting color for specific links

This topic is: resolved

Tagged: css classes, hyperlinks, Stackable

  • This topic has 5 replies, 2 voices, and was last updated 5 years, 9 months ago by tatami.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 17, 2020 at 3:53 am #496783
    tatami
    Participant

    I would like to set up a CSS class to change the theme’s (eleven40 pro) default color for specific links. I need to do this when the links appear within a colored panel that’s the same color as the default link color.

    I’m hoping to do this by defining a CSS class. I’ve tried setting it up like this:

    .white-link a {
      color: #fff;
    }

    But if I insert white-link into Gutenberg’s Additional CSS Class(es) box for the relevant block, nothing happens (hover over the green box on the URL I've included and you'll find the hidden links).

    By the way, I'm using Stackable's Container Block to create the panel.

    I’d really appreciate some help with this.

    Thanks.

    https://www.aenigma-images.com/test-page/
    February 18, 2020 at 1:52 pm #496808
    tatami
    Participant

    Can anyone help me with this challenge or even suggest where else to go for help? Please let me know.

    Thanks.

    February 20, 2020 at 5:44 pm #496858
    AnitaC
    Keymaster

    Try this.

    ul.white-link.black-bullet > li > a {
    color: #fff;
    }


    Need help with customization or troubleshooting? Reach out to me.

    February 20, 2020 at 5:45 pm #496859
    AnitaC
    Keymaster

    Don't use that code. It's incorrect and not formatting properly in here.


    Need help with customization or troubleshooting? Reach out to me.

    February 20, 2020 at 5:48 pm #496860
    AnitaC
    Keymaster

    The code I provided is correct now.


    Need help with customization or troubleshooting? Reach out to me.

    February 21, 2020 at 2:39 am #496868
    tatami
    Participant

    Magic – works like a charm! Thank you so much, Anita. I really appreciate you taking the time to help me out here. I wish I had your coding skills. All the best.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Setting color for specific links’ is closed to new 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