WordPress.org

Support

Support » Themes and Templates » I need to know the ID or class selector of this text

I need to know the ID or class selector of this text

  • 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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;
    }

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need to know the ID or class selector of this text’ is closed to new replies.