Title: Custom CSS selector
Last modified: August 22, 2016

---

# Custom CSS selector

 *  Resolved [cybercli](https://wordpress.org/support/users/cybercli/)
 * (@cybercli)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-css-selector/)
 * I have created a custom font control with custom css. I can see and manage the
   custom font but it does not change the text I have applied for the css controller.
   Controller name is “hdname” and in the html for the text on the page I have `
   <p class="hdname">Kristin</p>`
 * What am I doing wrong?
 * Thanks,
    David
 * [https://wordpress.org/plugins/easy-google-fonts/](https://wordpress.org/plugins/easy-google-fonts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Sunny Johal](https://wordpress.org/support/users/sunny_johal/)
 * (@sunny_johal)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-css-selector/#post-5424906)
 * Hi David,
    It’s likely that your theme may be overwriting our custom control.
   Try this:
    - Go to Settings > Google Fonts.
    - Go to your font control called hdname
    - In the Add CSS selectors box put in `p.hdname`
    - Save the control and visit the customizer
 * If that doesn’t work go back to the control and check the force styles option.
   If that still doesn’t work then please let me know. It’s hard to determine what
   the problem is as you haven’t posted a link to the website. Let me know how you
   get on. Cheers
 * Sunny
 *  Thread Starter [cybercli](https://wordpress.org/support/users/cybercli/)
 * (@cybercli)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-css-selector/#post-5425047)
 * That worked perfectly Sunny, Thanks! 🙂
 *  Plugin Author [Sunny Johal](https://wordpress.org/support/users/sunny_johal/)
 * (@sunny_johal)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-css-selector/#post-5425049)
 * Hi David,
    Glad it worked for you. I was wondering if you could [rate this plugin](https://wordpress.org/support/view/plugin-reviews/easy-google-fonts)
   when you get a moment please. Thanks
 * Sunny

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom CSS selector’ is closed to new replies.

 * ![](https://ps.w.org/easy-google-fonts/assets/icon-256x256.png?rev=2562365)
 * [Easy Google Fonts](https://wordpress.org/plugins/easy-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-google-fonts/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sunny Johal](https://wordpress.org/support/users/sunny_johal/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/custom-css-selector/#post-5425049)
 * Status: resolved