How to Center Align Archive Titles in Extra Theme

center align archive titles in extra theme

In Extra Theme, the titles of the archive pages (author pages, category pages, search results pages, tag pages, etc), are by default left-aligned.

You can center align archive titles in Extra theme with the helps of just a few lines of CSS code. All you have to do is use the CSS code below:

/* Center align the title on archive pages */
body.archive .et_pb_extra_column_main > h1 { 
    text-align: center; 
}

To add the CSS code to Extra Theme, paste it into Extra Theme’s custom CSS box. On your WordPress admin dashboard, go to Extra > Theme Options > General > Custom CSS. Paste the code after any other already existing code in the Custom CSS box.

Alternatively, you can place the code in the style.css file of your Extra child theme (if you are using a child theme).

Leave a Reply

Your email address will not be published. Required fields are marked *

Altvise WP

WordPress plugins and practical tutorials, from the team behind Footnotes Made Easy.

Footnotes Made Easy Pro

Turn footnotes into proper academic citations. APA, MLA and Chicago styles, DOI and ISBN auto-fetch, and a reusable citation library.

Get new tutorials by email

A short email when we publish something new.

No spam. Unsubscribe at any time. By subscribing you agree to our Privacy Policy.

ChemiCloud web hosting