- This topic has 19 replies, 3 voices, and was last updated 7 years ago by Tom.
-
AuthorPosts
-
April 11, 2017 at 4:59 am #304436omer
hello ,
i was looking at my site title name called (בניית אתרים) on the top right
<p class=”main-title” itemprop=”headline”>
בניית אתרים
</p>how can i CONVERT it to an H1 ?
THANKS
April 11, 2017 at 8:11 am #304496LeoStaffCustomer SupportHi Omer,
Don’t think we can actually convert it to h1 but we can give the main-title class the same style as h1 like this:
.main-title { font-size: 25px; color: #000; font-weight: bold; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know the style you want and I can give you the full code.
April 11, 2017 at 9:22 am #304533TomLead DeveloperLead DeveloperNot a good idea to make it an H1, because that will give you two H1s per page, which hurts SEO.
April 11, 2017 at 9:53 am #304552omeri dont need to make the font bigger leo , i need it to be orgenazied and <p> for the main title it is a big issue .
my main title is paragraph ?there must be a code that i can put in the function.php ot the content.php or the page.php that will solve me this problem .tom i mean that ahen i am on my home page my site title should be H1 but if i go to any other page the site title could be a <p> tag and the new page title or new post title should be an H1 .
if i switch to twenty17 theme it works fine like it should be .
there must be some code for that .April 11, 2017 at 9:55 am #304554TomLead DeveloperLead DeveloperThat’s how it works in GP, if you’re on your posts page it will be an H1, and it will turn to a paragraph tag on static pages.
Make sure you’re not using any custom functions/your site title in GP Hooks as it won’t use the core GP functionality.
Also make sure you’re using the latest version of the theme.
April 11, 2017 at 11:12 am #304577omeri am not sure i understand you tom .
my site title is always on <p> tag not matter what i do or where i go posts or pages also i didnt do any custom functions .
is there any way i can change it ?regards omer
April 11, 2017 at 11:15 am #304579TomLead DeveloperLead DeveloperCan you link me to your site?
April 11, 2017 at 2:39 pm #304684April 11, 2017 at 8:40 pm #304745TomLead DeveloperLead DeveloperNo custom functions at all? Or anything in GP Hooks? That’s not the standard behavior anymore, the H1 on the blog page was introduced in 1.3.41 on November 30, 2016.
Might be worth doing a fresh install just to test on your end.
April 12, 2017 at 5:39 am #304890omerhi tom
here is a fresh instalation AND every thing is correct like you said.http://xn--4dbbfhtdabtsd1a1i0ab.co.il/in my problem site i delete and install again the theme with updated and it still the same .
any ideas ?
note :beside css code that you gave me i didnt do anything .
April 12, 2017 at 5:56 am #304894omeri installed on another domain and the same issue
look hereApril 12, 2017 at 6:00 am #304899omerIgnore the last post that suddenly works weird to me anyway just one site makes me trouble
this site בניית אתריםApril 12, 2017 at 9:51 am #305028omerplease tom help me with that i dont know what to do and i dont like to find another theme .
i love your theme and your support .i will give you my c-panel creditials and see for your self .
please tomApril 12, 2017 at 10:34 am #305061TomLead DeveloperLead DeveloperYou can send me temporary admin login details to the problem site if you like: https://generatepress.com/contact/
April 12, 2017 at 11:18 am #305080omeri sent you .
thanks tom i hope you will make it !regards omer
-
AuthorPosts
- You must be logged in to reply to this topic.