ace2296
says
head to http://www.hgrsolutions.com/classes
take a look below the orange container (#membership-container-loggedOut)
There is a little white space. Only Chrome picks it up as ” “
How do I get rid of it?
Here’s the classes.php<?php
/*
Template Name: Classes
*/
get_header(); ?>
<div id="primary">
<div id="full-content-page" role="main">
<h1 class="page-title">Our Classes</h1>
<?php include_once "class-tabs.php"; ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php if (!(is_user_logged_in())) { //logged out ?>
<?php include_once "membership-cta.php"; ?>
<?php } ?> <!-- #Logged Out -->
<?php get_footer(); ?>
And here’s the membership-cta.php
<?php
/*
* Membership CTA
*
*/?>
<div id="membership-container-loggedOut">
<div class="inner-container">
<div class="vip-pass" />
<div class="member-intro-loggedOut">
<h1>Become an HGR Platinum Member</h1>
<p>Here at HGR we encourage all of our students to become official HGR members. A membership allows you to receive special member promotions, discounts, freebies, and much more! So what are you waiting for? Sign up today and check out our members only section.</p>
<div class="one-half">
<h2>35% Off Classes</h2>
<p>Platinum Members receive the biggest discount on all classes and safaris.</p>
</div>
<div class="one-half last">
<h2>Full Access</h2>
<p>Your membership includes unlimited access to tutorials in the member section.</p>
</div>
<div class="one-half">
<h2>Product Discounts</h2>
<p>Our awesome sponsors offer great member discounts on products and services.</p>
</div>
<div class="one-half">
<h2>FREE Consultation</h2>
<p>Platinum Members receive 15 FREE minutes of business consultation from our primary instructors.</p>
<p></p><h3>…and much more!</h3>
</div>
<div class="blurb1w" />
</div>
</div>
<a id="packages-btn" href="/pricing">Click to see full list of membership packages.</a>
</div>
2842 posts
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
sevenspark
moderator
says
Try condensing the PHP include logic to just
<?php
if (!(is_user_logged_in())) {
include_once( "membership-cta.php" );
}
?><!-- #Logged Out -->
ace2296
says
sevenspark said
Try condensing the PHP include logic to just<?php if (!(is_user_logged_in())) { include_once( "membership-cta.php" ); } ?><!-- #Logged Out -->
DUUUUDE Your a friggin’ genius! Thank You
