196 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 500+ items on Envato Market
  • Located in United States
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>
3497 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

Try condensing the PHP include logic to just

<?php 
if (!(is_user_logged_in())) {    
  include_once( "membership-cta.php" );
} 
?><!-- #Logged Out -->
196 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 500+ items on Envato Market
  • Located in United States
ace2296 says

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by