This topic has 17 replies, 3 voices, and was last updated 9 years, 4 months ago ago by Jack Richardson
Hi !
So..
here are differents questions (with screenshots with notes).
1/ I would like to change header-height. I have tried some code in Custom CSS for desktop and mobile.
But I still have some problems. (Please, check the screenshots) Can you maybe check the codes and help me to solve the problems ?
2/ I would like to keep the header fixed. So, now they are a header, a fixed header, and a header for blog page. Can them be the same, and fixed ?
3/ I have added an image with a link in the header custom HTML. But I should maybe work with <div> in a child theme to add code on this button ?
I hope my notes are OK for you ?
Many many thanks !!
Eli
Hello,
1. Please add this code in custom.css for fixed header:
.fixed-header-area .header-logo {
padding: 0px 0px !important;
}
Sorry, but I don’t see any problems with header on home page.
2. The problem is caused by the code you added in Theme Options > Custom CSS:
.header-type-5 {
margin-top: -28px !important;
margin-bottom: -48px !important;
}
Remove it and check header on other pages.
3. Your last query is unclear. Could you please clarify what problems you have with the image?
Regards,
Eva Kemp.
HI
Thanks but …
1. fixed header doesn’t work with that code …
2. I guess the problem is ’cause of the code.. but it’s to show you what I expect for all the three headers (home, fixed, blog) … I would like the reduce de height of the banner as I explain on the screenshot. The best should be that the header don’t change.
Can you help me ?
3. The problem with the image is that, on mobile, it’s to big. I would like it to me like in the screenshot: really smaller on mobile. So, I find a solution.
Tks !
Eli
Hello,
I’ve added this code in Theme Options > Custom CSS:
.navbar {
padding: 10px 0px !important;
}
.page-content {
margin-top: 10px !important;
}
Please check your header now.
And this code for the image in mobile device:
.wp-image-17399 {
width: 30% !important;
}
Also please update the theme to the latest version and Woocommerce as well.
Before update delete “woocommerce” folder in the directory wp-content/themes/woopress/ and it’ll be reuploaded from a new theme package.
Also update all required plugins https://www.8theme.com/download-plugins/ .
Don’t forget to create back up of your files and database before starting update process!
(it’s for Legenda theme but the process is the same).
Regards,
Eva Kemp.
Hey !! so perfect !! Tks a lot.
Just a problem with the appaerance of the blog on mobile.
Here is a screenshot.
I guess it’s about the code.. but I don’t know how to make it working well.
Tks for your help !
Eli
Hello,
Sorry, but I don’t see any issues. Could you please clarify what problem you have? Do you want to decrease header height on mobile device?
Thank you.
Best regards,
Jack Richardson.
It’s about text… (header is perfect)
As you can see on the screenshot, the image of the second post is on the text of the first..
Everything is disturbed.
Hello,
In this case you’d better use excerpts and not full content of your posts on Blog page.
How to add excerpts is written in this article:
https://www.8theme.com/blog/using-read-more-button-on-wordpress-blog/
Regards,
Eva Kemp.
Thanks it’s working perfect. It’s a new option ? Before the last update, this “more” button was automatic, no ?
Eli
Hello,
No, that option is present in WordPress editor by default.
You’re welcome.
Regards,
Eva Kemp.
Ok tks Eva !
I made the update. But now, my wp-image-17399 doesn’t appear anymore in the fixed-header.
Can you help me ?
Tks a lot !
Eli
And I have an other question about this button. I open a new topic to ask.
Eli
Hello,
Did you add that image via php files in the theme?
Regards,
Eva Kemp.
no it’s in the header custom HTML…
Hello,
As I see in this topic https://www.8theme.com/topic/header-add-shortcode/ the changes were made in the header.php file. So I’ve edited it to display required button in fixed header area as was before theme update.
Please note that we recommend to make changes in a child theme to prevent of losing modifications after theme update. Otherwise you need to save changed file and reupload it after update.
Best regards,
Jack Richardson.
Many thanks Jack !
I will try the Child Theme. It means a little bit complex, but I will try.
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘Header’' has been successfully resolved, and the topic is now closed for further responses