Sep 22, 2024 11:22 am
Hello,
I was trying to use a CSS code to change the size of the stars in the rating. However, as soon as i hover the section with the cursor, the size switches to normal again.
@media screen and (max-width: 600px){ #wpd-post-rating .wpd-rating-wrap { width: 80%;} #wpd-post-rating .wpd-rating-wrap .wpd-rating-data { flex-grow: 1; } #wpd-post-rating .wpd-rating-wrap .wpd-rating-right, #wpd-post-rating .wpd-rating-wrap .wpd-rating-left{ flex-grow: 0; } #wpd-post-rating .wpd-rating-wrap .wpd-rating-stars svg { width: 65px; height: 65px; } #wpd-post-rating .wpd-rating-wrap .wpd-rating-value { height: 85px; width: 85px; display: flex; align-items: center; justify-content: center; } #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrv, #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrc, #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrt{ font-size: 56px !important; } #wpd-post-rating .wpd-rating-wrap .wpd-rating-title{ font-size: 20px; } }
2 Replies
Sep 23, 2024 10:07 am
Hi,
Please deactivate the cache plugin you're using, clear your browser cache, and check again.
Also, please try in incognito mode if you're checking on mobile devices. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.
Sep 23, 2024 4:27 pm
It works when i use the code. But it doesnt work correctly. As soon as i hover the stars by mouse it will turn small again