-
Posted in : Lahanna
-
Hi,
In the Lahanna theme there is a H1 tag for the site title on the logo.
It’s not a good thing for SEO because all blog post and pages will have two H1 tag per page. Normally it’s better to have only one H1 per page.
I wanted to override the “header.php” in my child theme folder, but unfortunately the bit of code is in the “functions-header.php” file and I don’t know how to override this file in my Child Theme.
Can you tell me how could I achieve that?
Also, when I’m trying to override CSS with the “style.css” in my Child Theme folder it does not seem to work out. It does’nt take effect.
Can you help me on this.
Thanks,
Hi Serkan,
Thanks for the answer. I made some search as well and I think you’re right, since it’s HTML5 it’s ok.
My other question was, when I’m trying to override styles with the styles.css in the child theme it’s not working.
Can you please help me resolve this.
Hi, sorry we don’t provide support for customizations that includes editing core php files.
I’m not talking about core php files!!
I’m talking about your child theme that you created. The styles.css in your child theme.
What is that kind of support.
I payed for your Theme and the support that comes with it.
Hi, I see you, but we don’t promise any customization work anywhere, but still, we try to help you all on some simple CSS customizations that don’t take more than just a few minutes,
but what you are asking is not possible with just a few lines of code. The Child theme is designed for users who know coding knowledge and want to customize the website. You need to edit many style files here. For this, you need to have coding knowledge.
Thanks for your understanding.I think you don’t understand what I’m saying.
I have coding knowledge in CSS and html.
What i’m saying is that if you write some styles in your CSS child theme file « styles.css » it’s not overriding styles of the main theme.
You should configure by default your CSS file so that it overrides the Main Theme styles.css
If not, what is the point of giving a child theme to your customers?
There is a bit of code that needs to be on top of the CSS child theme file.
https://css-tricks.com/methods-overriding-styles-wordpress/
You should check this out to improve your child theme that you are giving to your customers.
If you don’t want to support the child theme, don’t provide a child theme!!
Hi,
You can use any css code at the end of the style.css file of your activated child theme.
But your parent theme customizer styling settings overrides css codes of style.css file for related styling options. So you should use customizer first for style customizations.
If you want to make more style customization, use Additional CSS field in customizer or try css !important rule in your child theme to override customizer styling options.
For overriding “functions-header.php” file, duplicate it to your child theme folder and point the file path from child thme’s functions.php file.
Thanks
You must be logged in and have valid license to reply to this topic.