Tagged: Headers
- This topic has 5 replies, 2 voices, and was last updated 9 years, 8 months ago by
Theme Horse Support Team.
-
AuthorPosts
-
April 2, 2016 at 7:48 pm #43964
Petar
ParticipantHi,
I would like to modify the self-configured <h2 class=”entry-title”> … </h2>, and make it to <h1 class=@entry-title”> … </h1> .Also, I would like to change the font size of the headers and the height as well. For reference http://www.bulgarianbluecard.com .
Thanks,
PetarApril 4, 2016 at 10:13 am #43996Theme Horse Support Team
KeymasterHi Petar,
Just visited to your site and there is already <h1> tag used for
Bulgaria EU Blue CardSo to make SEO friendly, there must not be two<h1> tag. ALso if you like changing to h2 tag to h1 then it needs code customisation. You can go to the theme folder -> inc -> structure -> content-extension.php and search for h2 tag and change to h1 tag.To change the font size add below custom css
#site-title { font-size: 14px; } .hgroup-wrap { padding: 10px 0 20px; }Note: Change the numeric value to fit in your design.
Thank you!April 4, 2016 at 3:27 pm #44005Petar
ParticipantThank you very much for the assistance. It worked well.
Also, I would like to put a google analytics tracking code. Would you please advise me how to do that.Thanks,
PetarApril 5, 2016 at 9:48 am #44026Theme Horse Support Team
KeymasterHi Petar,
To add google analytics tracking code either you customize the code or there are many plugins. You can try any on them from https://wordpress.org/plugins
For example:
https://wordpress.org/plugins/google-analytics-for-wordpress/Thank you!
April 5, 2016 at 12:32 pm #44035Petar
ParticipantHi,
Thank you for your response.
I really don’t want to use a plugin for this. Would you please give me some short info on how to customize the code.Thank you,
PetarApril 6, 2016 at 9:45 am #44056Theme Horse Support Team
KeymasterHi Petar,
If you like code customization then the google analytics code should be added in either header or footer. You create an account on google analytics and they will provide some code to verify it. You add that code on your server and verify it.
If you make direct code customization then updating to new version your customized code will be lost. So better make child theme and add the code.
Here is a step by step information how to install google analytic code
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.
