Jump to content
Sign in to follow this  
dinopacha

take out welcome guest different ways

Recommended Posts

I want to take out the welcome text include the background and border on the index page.

 

what is the best way to do it???

 

number 1  (index.php)

I can completely remove it.

<div class="alert alert-info index-pagina">
    <?php echo tep_customer_greeting(); ?>
  </div>

number 2 (languages/english.php)

I can put 2 slashes in it, to make it invisible.

define('TEXT_GREETING_GUEST', ''); //'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

and then put the following in user.css

.alert.alert-info.index-pagina {
  background: none!important;
  border: none;  
}

Edited by dinopacha

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×