WordPress.org

Ready to get started?Download WordPress

Forums

I need to know the ID or class selector of this text (4 posts)

  1. jrmiii120889
    Member
    Posted 1 year ago #

    johnmcwaters.com

    I want to use Font Uploader plugin to customize the text "Biography" to the left of the content inside the biography page (linked above).

    I need either the class selector or ID of that specific element - the text 'Biography'. I'm new to CSS and wordpress in general.

    Can someone please point out to be where these references are located in the CSS code?

    I appreciate it!

  2. blackpenpress
    Member
    Posted 1 year ago #

    in Chrome right click on the text and click 'inspect element'. You'll be able to see all the css rules that apply and where they are located.

  3. varkeychaya
    Member
    Posted 1 year ago #

    If you look at the html code of your page it looks like this

    <div id="main">
       <h1>Biography</h1>

    This means that Biography is under the div with the id="main"
    If you wanted to change the css related to tag <h1> under the div "main". You should specify the new css like this

    #main h1{
    text-align: left;
    }
  4. jrmiii120889
    Member
    Posted 1 year ago #

    I appreciate the help. Maybe there is a bug in the Font Uploader plugin. I tried to insert a custom element by using the reference #main, but the font remains the same.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.