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).





0 Comments