-
Author
-
November 8, 2015 at 22:33 #86307cgParticipant
Is it possible to create a sticky socket – standard or transparent? I would like to use for email opt-in.
November 9, 2015 at 20:07 #86450RaduModeratorHi,
You can do socket sticky like this
COPY CODEdiv#socket { position: fixed; bottom: 0; text-align: center; margin: 0 auto !important; width: 100%; z-index: 99; }
If you want to have socked with transparency use opacity
COPY CODEdiv#socket { position: fixed; bottom: 0; text-align: center; margin: 0 auto !important; width: 100%; z-index: 99; opacity: 0.6; }
Add snippet to wp-admin -> theme options -> general options -> quick css
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 10, 2015 at 17:39 #86647RaduModeratorHi,
Please use this css
COPY CODE@media (max-width: 600px) { div#socket { color:red !important; height:70px !important; position: fixed; display:none !important; bottom: 0; text-align: center; margin: 0 auto !important; width: 100%; z-index: 99; } }
Under 600px the next css rule will be applied, replace height:70px !important; with your adapted needs.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.