How to use CSS for styling?
-
Hi. I was wondering how I could use CSS to style the wordpress popular posts widget. What steps do I need to take? This is the CSS I want to use:
.feed-links {display: none;} /* Popular Posts ------------------------- */ .item-title a { display: block; z-index:9999; } .item-thumbnail img { width:100%; display: block; z-index: 1; } .item-title span { background-color: white; opacity: 0.9; width: 93.1%; position: absolute; left: 0; padding: 10px; z-index: 9988; font-family: ABeeZee; font-style: italic; letter-spacing: 2px; color: #333; font-size: 10px; margin-top: 96px; } .popular-posts ul li:hover { opacity: 0.8; } .popular-posts ul li:hover .item-title{ display: block; opacity: 1.0; } .item-snippet { display: none; } .item-thumbnail img { object-fit:cover; position: relative; display: block; } .item-thumbnail a { clip: auto; overflow: hidden; } .popular-posts ul li { display: inline-block; height: 120px; overflow:hidden; text-align: center; margin-top: -5px; } .popular-posts ul { padding: 0; margin-right: -5px; margin-top: -7px; margin-bottom: -2px; }
Now the problem is: where do I put it? And what other steps do I need to take? I’ve read some other threads, but I don’t know if those steps apply to me.
Thanks in advance
https://www.ads-software.com/plugins/wordpress-popular-posts/
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How to use CSS for styling?’ is closed to new replies.