Title: CSS Selector for Title
Last modified: November 4, 2016

---

# CSS Selector for Title

 *  Resolved [infraredsalv](https://wordpress.org/support/users/infraredsalv/)
 * (@infraredsalv)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/css-selector-for-title/)
 * Hi there,
 * i’m just trying to style the “title” of a sidebar element but am having some 
   difficulty nailing it down. I wondered if you might be able to point me in the
   right direction please?

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

 *  [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/css-selector-for-title/#post-8402890)
 * Hello [@infraredsalv](https://wordpress.org/support/users/infraredsalv/)
 * I trust you are doing well!
 * I will be glad to assist you with this 🙂 . Please share the link yo your site
   where the sidebar is showing and let us know what changes you wish to make!
 * Please advise,
 * Cheers,
    Nastia
 *  Thread Starter [infraredsalv](https://wordpress.org/support/users/infraredsalv/)
 * (@infraredsalv)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/css-selector-for-title/#post-8405724)
 * hi Nastia,
 * thanks for geting back to me, the site sample page is as follows: [http://eskinazi.infraredstudios.co.uk/domestic-violence/](http://eskinazi.infraredstudios.co.uk/domestic-violence/)
 * On the left body section you’ll see a secondary Nav sidebar, i want to target
   the title of it, the text that says “DIVORCE & SEPARATION”.
 * Any help greatly appreciated.
 * Regards
 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/css-selector-for-title/#post-8415949)
 * Hello infraredsalv,
 * This will be tricky because that header is not wrapped with any tag. Solution
   here will be editing that sidebar and clicking “Advanced – Edit custom wrapper
   code” then in fields
    Before Title and After Title you can place your own html
   tag with class, like that
 * ![](https://i0.wp.com/monosnap.com/file/TAdvF1Q7vqxmTDx36plo3MGohM7E87.png?ssl
   =1)
 * and then in CSS you will be able to use
 * `h3.myclass {font-weight: bold;}`
 * and this will target your sidebar widget title.
 * Let me know if this helps.
 * kind regards,
    Kasia
 *  Thread Starter [infraredsalv](https://wordpress.org/support/users/infraredsalv/)
 * (@infraredsalv)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/css-selector-for-title/#post-8416097)
 * Aha! Perfect! Exactly what I need, many thanks for your help ;o)

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

The topic ‘CSS Selector for Title’ is closed to new replies.

 * ![](https://ps.w.org/custom-sidebars/assets/icon-256x256.png?rev=1414065)
 * [Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager](https://wordpress.org/plugins/custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-sidebars/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [infraredsalv](https://wordpress.org/support/users/infraredsalv/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/css-selector-for-title/#post-8416097)
 * Status: resolved