Different Style For H2/H3 With Different CSS Class
Forums
- Welcome to Support
- Guidelines
- Get involved
- Log in
- Welcome to Support
- Guidelines
- Get involved
- Log in
Home / Plugin: Easy Table of Contents / Different style for H2/H3 with different CSS class
Search for: Search forums- Resolved Tibow
(@pyho)
2 years, 10 months ago
Hello!
First I’d like to say that I really appreciate your plugin. And have had no difficulties tu use it.
At this point I’d like to use CSS to style diffrently the links to H2 and links to H3. So I’m looking for a way to have a CSS class for ez-toc-link element, according if they point to an H2 or H3…
Is there a way to make it ? Thanks a lot
- This topic was modified 2 years, 10 months ago by Tibow.
The page I need help with: [log in to see the link]
- Steven
(@shazahm1hotmailcom)
2 years, 9 months ago
There are CSS classes attached to the ezTOC list, example class="ez-toc-heading-level-4".
These do not map directly to h1, h2, h3 …and will be different based on the eligible headings in the post content. But, if you are consistent in using the same headings for TOC items you could use those CSS classes for your target styling.
- The topic ‘Different style for H2/H3 with different CSS class’ is closed to new replies.
- Easy Table of Contents
- Frequently Asked Questions
- Support Threads
- Active Topics
- Unresolved Topics
- Reviews
Tags
- css-class
- heading
- link class
- In: Plugins
- 1 reply
- 2 participants
- Last reply from: Steven
- Last activity: 2 years, 9 months ago
- Status: resolved
Từ khóa » H2 Vs H3 Css
-
HTML H1 To H6 Tag - W3Schools
-
Header Tags: A Simple (But Complete) Guide To H1, H2 And H3 Tags
-
What Are The Default CSS Styling Of Heading Tags? (H1, H2, H3, H4, H5)
-
–
: The HTML Section Heading Elements - MDN - Mozilla
-
H1 Vs. H2 Heading Tags: Here's The Difference
-
How To Use H1, H2, And H3 Header Tags For SEO Effectively
-
Heading Tags (H1, H2, H3, P) In HTML - Accessibility At Penn State
-
Heading Tags, What Are They And How To Use? | By Thiago Vaz
-
Why Use H1, H2, H3 Tags For Your SEO? - Semji
-
HTML - Heading Elements H1, H2, H3, H4, H5 And H6.
-
Should You Use H1, H2, Or H3 Tags In Blog Posts? - Blogpros
-
HTML Headings | HTML H1 Tag, H2 Tag - Tech Altum Tutorial
-
How To Use Headings Tags For SEO - Hobo Web
-
Headings