This topic has 20 replies, 2 voices, and was last updated 6 years, 10 months ago ago by Rose Tyler
Hi,
When i view a page like this one: https://www.lilygardner.com/product-category/men/cufflinks/ I can see the five red stars under one product, but when I view on a mobile phone the stars disappear.
See here: https://screencast.com/t/cTN426PFAp5q
Hello,
You may add this code in custom.css:
@media (max-width: 480px) {
.products-grid .product .star-rating {
display: block;
margin: auto;
}
}
Regards
Hi,
I have applied the CSS but the review stars are still not showing, see here: https://www.screencast.com/t/jNtwF8k8
Hello,
I do not see the code in console on your site.
Could you please provide wp-admin access in Private Content?
Regards
This is wierd this is the second qestion I thought I had already supplied private information.!
You need to add custom css code in custom.css file of legenda parent theme or in style.css file of child theme. Custom.css file of child theme woun’t work correctly, so I would recommend you to transfer all your custom code in style.css file of child theme.
Regards
Hi,
That is strange the the custom.css is no longer working.
I have added the code but there is still now ‘review’ stars showing.
it maybe becuase of this CSS
@media (min-width:480px){
.products-grid .product .add-to-container{
width: 100%;
position: absolute;
bottom: 0;
text-align: center;
}
}
Which is being used to change the depth of the price in relation to the product name on category pages on mobile phones.
See this support question: https://www.8theme.com/topic/css-for-mobile-phone-view-on-category-page/
maybe the two need merging… ?
I will start to migrate all CSS to style.css in child theme.
You may merge these 2 codes in 1 media query @media (min-width:480px){ }
Regards
Hi,
I added this merged
@media (min-width:480px){
.products-grid .product .add-to-container .star-rating{
width: 100%;
position: absolute;
bottom: 0;
text-align: center;
display: block;
margin: auto;
}
}
But nothing happens, except the price is closer to the bottom of the product image/anme on mobile device.
But still no stars appear.
Hello,
Could you please provide FTP credentials?
Regards
Sorry for the delay in responding.
FTP dtails below
Hello,
Unfortunately, I can’t connect to your files via FTP. Please check.
Regards
Hi,
I have placed the correct FTP below.
Thanks
Hello,
Please check the credentials one more time http://prntscr.com/hmtr6n
Shall we provide our IP address to put it into whitelist on the server?
Regards
Hi,
Sorry for the delay in getting back to you
I think the issue is you don’t need to use Explicit FTP, I used ‘PLain FTP’ and logged in with no problems.
Let me know if there still an issue and I will investigate some more.
Hi,
Not sure what you are doing wrong, but the details I gave as exactly the correct details.
I copied and pasted what I provided you with.
Try Cpanel, I have tested and I can login
Thanks 🙂
Hello,
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up