[Resolved] Style all links on GP

Home Forums Support [Resolved] Style all links on GP

Home Forums Support Style all links on GP

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #552860
    Danny

    Hi Tom,

    Thank you very much for your time and patience. I want to move forward with the below code. How may I exclude it from underlining my buttons and menus?

    /* underline links */
    .entry-content a:not(.button) {
    text-decoration: none;
    }
    .entry-content a:not(button):hover {
    text-decoration: underline;
    }

    #552861
    Tom
    Lead Developer
    Lead Developer

    It should already exclude buttons, as long as they have the button class.

    However, you’re missing a period before button in the second block.

    #552897
    Danny

    Hi Tom,

    I had to revise the class name slightly, how do I exclude this menu item on my learn page?

    example

    #552901
    Tom
    Lead Developer
    Lead Developer

    Add this:

    .entry-content .menu-item a:hover {
        text-decoration: none;
    }
    #552906
    Danny

    Sweet, thanks Tom. It’s working well. How may I apply same css to the footer links?

    #552911
    Tom
    Lead Developer
    Lead Developer

    Try this:

    .site-footer a:hover {
        text-decoration: underline;
    }
    #552927
    Danny

    Works well, thank you again for your time and support.

    #552930
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

    #553509
    Danny

    Hey Tom,

    I changed to a different class button. The button new button is underlined. How may I remove the underline please? I tried both (.button) and (.ee-button) in the below code.

    /* underline links */
    .entry-content a:not(.ee-button) {
    text-decoration: none;
    }
    .entry-content a:not(.ee-button):hover {
    text-decoration: underline;
    }
    .entry-content .menu-item a:hover {
    text-decoration: none;
    }

    #553878
    Tom
    Lead Developer
    Lead Developer

    Try this selector: .ee-button-wrapper

    #554277
    Danny

    Thanks, that was it.

    #554321
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 12 posts - 16 through 27 (of 27 total)
  • You must be logged in to reply to this topic.