Custom Cursor for a Specific Page
-
Hello!
I currently have a custom cursor for mouse hover for my page, but I'd like it to be specifically just for one of my page instead. Is that possible?Here's my website: iamsam.info
-
Dear @iamsam
ah, we love it!Sure, you can apply CSS to only a specific page:
http://laytheme.com/documentation.html#custom-css-stylingBest!
Marius
-
I tried following the instruction from the page, but I must be getting something wrong.
This is my attempt:
body.slug-aboutsam .cursor {
cursor: url(http://iamsam.info/wp-content/uploads/2019/02/myhead2.png) 64 64, auto ;
}My original code before was:
a {
cursor: url(http://iamsam.info/wp-content/uploads/2019/02/myhead2.png) 64 64, auto ;
}Thanks for your help!
-
Dear @iamsam
you probably need to use important.
https://css-tricks.com/when-using-important-is-the-right-choice/Hope that helps!
Best!
Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login