This topic has 28 replies, 4 voices, and was last updated 5 years, 7 months ago ago by Olga Barlow
please help me in to the problem, I put in a category product header image, but it does not look good in the responsive mode.
you can help me
Thank you very much
https://prntscr.com/n8eske
https://prntscr.com/n8esm5
https://prntscr.com/n8esnz
https://prntscr.com/n8esqg
HI there,
Thanks for your request, please, hold on, our techs will send you the solution tomorrow on Monday.
Regards
Hello,
I do not see the image. Have you disabled breadcrumbs?
Background size “cover” (Theme Options > Breadcrumbs > Breadcrumbs background > Background size) means that image will be cropped on different devices because background-size “cover” works in this way https://cssreference.io/property/background-size/
Feel free to ask if you have any other questions.
Regards
hello in the category product not appear the custom page heading image
Hello,
You have disabled the Breadcrumbs for Shop page – http://prntscr.com/n8z4sj
Category page inherits settings of Shop page.
Regards
ok and now the problem responsive?
like this
Hello,
It is predefined behavior of “cover” background size.
You can add code in Theme Options > Custom CSS > “Custom CSS for mobile” to get a different result. For example, https://prnt.sc/n8zfc4
.tax-product_cat .page-heading {
background-size: contain;
margin-bottom: 0px;
}
.tax-product_cat .page-heading {
background-position: 66% center;
}
Regards
i can put the code in the css child theme? how?
This code can be added in style.css file of your child-theme, it will affect mobile devices only because of the media query:
@media only screen and (max-width: 480px) {
.tax-product_cat .page-heading {
background-position: 66% center;
}
}
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
Regards
perfect thank you very much
You’re welcome!
Regards
it is one problem of space
https://prnt.sc/n8zs62
Please change this code
@media only screen and (max-width: 480px) {
.tax-product_cat .page-heading {
background-size: contain;
margin-bottom: 0px;
}
}
to
@media only screen and (max-width: 480px) {
.tax-product_cat .page-heading {
background-size: contain;
margin-bottom: 0px;
max-height: 100px;
}
}
Regards
is perfect, another thing and ready. I have a line that I can not get out of css?
Delete this custom CSS code – https://prnt.sc/n901z2 from Theme Options
and this http://prntscr.com/n902pl from style.css file of the child-theme.
Regards
perfect thank you have a nice day
You’re welcome!
Have a nice day too.
Regards
This code is ok for mobile but for tablet and landscape??
@media only screen and (max-width: 480px) {
.tax-product_cat .page-heading {
background-size: contain;
margin-bottom: 0px;
max-height: 100px;
}
}
Please replace the mentioned code by:
@media only screen and (max-width: 992px) {
.tax-product_cat .page-heading {
margin-bottom: 0px;
max-height: 300px;
}
}
@media only screen and (max-width: 768px) {
.tax-product_cat .page-heading {
max-height: 200px;
}
}
@media only screen and (max-width: 480px) {
.tax-product_cat .page-heading {
max-height: 100px;
}
}
Regards
Rose you are the best thankssss
My pleasure 🙂
Regards
for single products i dont need breadcumbs how can i disable
.single-product .page-heading {
display: none;
}
Regards
thank you
Hello,
You are welcome.
Regards
I would like to integrate a short code below category on the single product, how can I do it? 🙂
Hello,
You can use WooCommerce Hooks if you want to change the order of the elements on the single product page or add any code https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/
Regards
You must be logged in to reply to this topic.Log in/Sign up