WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't remove underline from H1 (3 posts)

  1. yuedesign
    Member
    Posted 1 year ago #

    The URL of the site is: http://yuedesign.co.uk/wordpress/

    The stylesheet is here: http://yuedesign.co.uk/css/style.css

    I've tried defining the h1 element and 'h1 a' but nothing seems to work.

    p.s. the stylesheet will be included in the theme once done

  2. yuedesign
    Member
    Posted 1 year ago #

    I added the style attribute to the permalink

  3. paulwpxp
    Font hero
    Posted 1 year ago #

    It's worth mentioning that when you use element as a selector, the style is tied to that element in all situations, there might be a time when you don't need that same style for that same element in other places.

    It's better to use class, like in this case, .entry-title instead of h1 a.

Topic Closed

This topic has been closed to new replies.

About this Topic