By Siriri on Monday, 19 February 2018
Posted in Technical Issues
Replies 3
Likes 0
Views 560
Votes 0
Hi,
By default, blog article titles have a <h1> tag. Is it possible to change them to <h2> tags ?
Hey,

This is only true on the entry view as the entry view uses h1 tags. If you want to change this, you can edit the theme file /components/com_easyblog/themes/wireframe/blogs/entry/default.php and change h1 to other headings.
·
Tuesday, 20 February 2018 00:04
·
0 Likes
·
0 Votes
·
0 Comments
·
And which is the file to change if the theme is "Elegant White" ? I searched in that subdirectory but didn't find any <h1> tags.
I guess the best thing to do is create an override in the custom.css file ?
·
Tuesday, 20 February 2018 04:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

It is actually quite hard to change the DOM just using CSS and it is also harder to keep track of the customization in the future.

By the way, all themes in EasyBlog inherited theme files from Wireframe. So, in your case, it is actually this file is rendering your <h1> tag.

/components/com_easyblog/themes/wireframe/blogs/entry/default.posts.php

You can utilize our theme overrides feature at the EasyBlog. Navigate to EasyBlog > Themes > (wireframe) > (search desired file) > (add modification) > Save. Please checkout my screenshot: http://take.ms/BnYj9 .

Hope this helps.
·
Tuesday, 20 February 2018 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post