- This topic has 3 replies, 3 voices, and was last updated 3 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Customize eMember_protected_message class
Hi,
I’ve tried over and over to add CSS to the eMember_protected_message class, but nothing changes. This is the CSS I was trying:
.eMember_protected_message {
display: box;
margin: 40px auto !important;
border: 1px solid #dddddd !important;
}
But nothing changes. It looks like this:
[prnt.sc/1trlo4w]
I want to add a margin to top and bottom, center the message and add a border around it. What am I missing? I’ve searched your forum and the answers say to use that class, but it’s not working for me.
Dairrell
Please post the URL of the page where you have that message so I can inspect it using my browser (I won’t be able to see what is affecting things from the screenshot). Then I should be able to give the required CSS tweaks to add some margin and border to it.
Thanks for the reply.
I discovered that my caching plugin was preventing me from seeing changes to the CSS. The CSS that I applied worked after I deactivated my caching plugin.
There are only 2 “officially supported” caching plugins:
If you are using any other caching plugin; please examine the configuration guidance for these 2 plugins (see links) and determine if you can similarly configure your caching plugin.