WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_head css classes (5 posts)

  1. mike183
    Member
    Posted 1 year ago #

    Hi all,

    When I add <?php wp_head(); ?> to the top of my theme file it adds some CSS classes, one of which is .amp and is setting a few styles such as font-family on & symbols.

    I was just wondering how I could stop WordPress adding these classes without removing wp_head() as the classes are affecting my websites theme?

    Thanks,

    Mike.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    In the dashboard, is there an area named, "Custom Styles" or similar?

  3. mike183
    Member
    Posted 1 year ago #

    Can't see anything like that. It is a custom theme that I have developed for a client.

  4. Are you using any typography plugins (WP-Typography or the like)?

  5. mike183
    Member
    Posted 1 year ago #

    Are you using any typography plugins (WP-Typography or the like)?

    Thank you! This was the problem, as soon as you mentioned it I felt stupid having not checked there first haha. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.