The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
change size of star...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Question change size of stars CSS code

3 Posts
2 Users
0 Reactions
464 Views
Posts: 4
 kh86
Topic starter
(@kh86)
Active Member
Joined: 1 year ago

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;
}
}
Topic Tags
2 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

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.

Reply
Posts: 4
 kh86
Topic starter
(@kh86)
Active Member
Joined: 1 year ago

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

Reply
Share: