How to change h1 entry (page) title to h2 in css?
-
I am running Plane theme. I want to change the page names to an h2 heading (the default is h1) in css. Is there a way to change the h1 default? I am new to css. Here is the current code for my home page:
<header class=”entry-header”>
<h1 class=”entry-title”>Home</h1>
</header>
How do I edit the entry header code globally on the site?
thanks!The blog I need help with is: (visible only to logged in users)
-
You can’t change them from h1 to h2 with CSS, that is defined in the theme PHP script files, but we can target the page titles and you can style them as you desire (smaller font size, color, etc.). Add the following CSS and you can adjust font size for page titles as desired (originally 34px).
.wf-active .page .entry-title { font-size: 34px !important; }
- The topic ‘How to change h1 entry (page) title to h2 in css?’ is closed to new replies.