- This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Responsive design question
Tagged: header image in mobile version
For Mobile view:
There is a large white space between the header and menu. Can that be removed?
The two images in the body of the text appear after the word “Dear”. Can the images be moved below the text or removed?
Screenshot: http://www.esu.edu/images/wordpress/education1.jpg
Main Site: http://quantum.esu.edu/test_theme/
Hello @mlevine3@esu.edu
To fix the issue in mobile version you need to add custom CSS.
For this you need to go to Admin Panel / Appearance / Customize / Theme Options / Advanced Options.
Here you need to copy and paste following CSS.
#masthead {
background-position: inherit;
}
@media only screen and (max-width: 767px) {
.site-header {
padding: 0;
}
}
@media only screen and (max-width: 767px) {
.site-header {
padding: 0;
}
}
@media only screen and (min-width : 320px) and (max-width : 568px) {
.site-header {
min-height: 70px;
}
}
@media only screen and (min-width : 375px) and (max-width : 667px) {
.site-header {
min-height: 80px;
}
}
@media only screen and (min-width : 414px) and (max-width : 736px) {
.site-header {
min-height: 90px;
}
}
@media only screen and (min-width : 768px) and (max-width : 1024px) {
.site-header {
min-height: 160px;
padding: 0;
}
#masthead {
background-position: center;
background-size: cover;
}
}
Hope this will help you.
Let us know how it goes.
Regards!!!
Ok, your CSS took care of the white space (thank you). However the 2 images still appear after the word “Dear”. I would like the option of either removing images on mobile or at the very least have the image move below the text.
Hello,
Please add the below given CSS to
Dashboard -> Appearance -> Customize -> Theme Options -> Advanced Options
@media screen and (max-width: 768px){
body.home .entry-content img {
display: none;
}
}
Hope it helps.
Best regards.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |