Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Not displaying "Please log in to view" correctly on resticted page
Tagged: eMember log in page prompt, Words missing
- This topic has 4 replies, 3 voices, and was last updated 11 years, 9 months ago by wpCommerce.
-
AuthorPosts
-
February 19, 2013 at 9:49 pm #8604randomladMember
My members only page is not displaying to people not logged in. Instead of the normal “please log in to view” message all they can see is a couple of horizontal lines (which seem to link OK to the relevant pages but all the words are missing. The page is this one:
[http://www.visualformguides.com/members/]
Once logged in the content shows fine.
Thanks in advance for any help.
February 20, 2013 at 3:47 am #53952adminKeymasterThis is coming from your theme’s CSS. It has some bad CSS code in it. You can do the theme test mentioned here to verify what I am saying:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
See the following CSS code from your theme’s style.css file:
.block-type-content div.entry-content {
color: #050505;
font-family: "Century Gothic",CenturyGothic,AppleGothic,sans-serif;
font-size: 13px;
line-height: 130%;
top: -29px;
left: 0px;
position: relative;
z-index: 1;
}Remove the following line of code from that CSS code:
top: -29px;
February 20, 2013 at 7:41 am #53953randomladMemberThanks. My theme’s stylesheet style.css starts as follows :
/*
THEME NAME:Headway Base
THEME URI:http://www.headwaythemes.com
VERSION:3.4.4
AUTHOR:Headway Themes
AUTHOR URI:http://www.headwaythemes.com
So I cannot see how to make the changes you suggest. Can’t really understand why all the other pages (and the page after log in) are OK.
February 20, 2013 at 7:24 pm #53954randomladMemberIf I restrict any of my other pages to anny particular membership leve or levels the same thing happens.
February 21, 2013 at 12:16 am #53955wpCommerceModeratorHi, You should be able to customize any theme file from your WordPress admin Dashboard (Under Themes->Editor). Once the editor is open you can look for the “style.css” file under Templates (it’s on the very right of the screen). First, select the “style.css” file and click on the “Select” button. Now make the necessary changes and Hit “Update File” when you are done.
Alternatively, you can also download a theme file from your server via FTP, make the changes and upload it back (this is a better approach for customizing files).
Please make sure to keep a backup of the file before you change anything.
-
AuthorPosts
- You must be logged in to reply to this topic.