By Siriri on Thursday, 15 February 2018
Posted in Technical Issues
Replies 7
Likes 0
Views 679
Votes 0
Hi,
The blog titles in the Frontpage listing view of the articles and in the article view are not the same as the other <h1> tags of my site. When I check the formatting in the code, I see that Easyblog is adding some additional formatting to these titles.
See below :

<h1 itemprop="name headline" id="title-7" class="eb-entry-title reset-heading ">Title</h1>

Where can I modify the format of these titles ? I want them to be just <h1>Title</h1>.

Thanks for your help !
Hey,

I am not entirely sure if I understand you here but in the front page listings, we do not use h1 as you can only have a single h1 dom on the page. Can you please provide us with the link to the page that you are referring to? Also, please include the link to the page with the correct h1 styles.
·
Thursday, 15 February 2018 09:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
The frontpage listing is here :
https://www.crescendo-piano.ch/test/infos/blog
The titles I would like to be <h1> formatted are the blog article titles on that page like
Que signifie "crescendo" ?
.
Actually, I don't really care if the titles are <h1> titles, but I care about their size on the page. They should be like <h1> tagged titles on this page for example :
https://www.crescendo-piano.ch/test/l-ecole/equipe
What I would like to know is if I can change the size (and the color) of the titles in Easyblog articles, both in the Frontpage listing and in the blog article itself.
Thanks for your help and please could you make this thread private (because of the links) ?
·
Thursday, 15 February 2018 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

The markup that you have provided on https://www.crescendo-piano.ch/test/l-ecole/equipe is actually very bad for SEO, http://take.ms/o0hsA

Anyway if your intention is only to have the colors and font style applied on the h2 of the blog listings, it's as simple as adding the block of css codes below into your template's custom css file,

[gist]
body #eb .eb-post-title {
font-family: "Muli";
font-weight: 700;
font-size: 2.25rem;
color: #54040a;
}
[/gist]
·
Thursday, 15 February 2018 16:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the custom css code.

About the SEO... you mean that I should only have one <h1> and the rest <h2> titles ?
·
Thursday, 15 February 2018 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes that is correct. A single page should only have a single h1 tag.
·
Thursday, 15 February 2018 16:31
·
0 Likes
·
0 Votes
·
0 Comments
·
And is this also true for pages built from different modules ? I mean, there should be only one module with a <h1> tag ?
·
Thursday, 15 February 2018 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, this refers to any page of your site regardless if it is EasyBlog or not.
·
Thursday, 15 February 2018 23:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post