Post by Alexisdupont » Mon Feb 27, 2012 1:53 pm

Hi Guys! This is my first time using Opencart and I am having some questions. How can I remove the line :
Welcome visitor you can login or create an account.
and also remove the link "My Account" ?

thank you!

Newbie

Posts

Joined
Mon Feb 27, 2012 12:57 pm

Post by affect » Mon Feb 27, 2012 5:52 pm

You can either delete/hide the whole <div id="welcome"> or just the <?php echo $text_welcome; ?> part in catalog/view/theme/default/template/common/header.tpl to remove the Welcome text.

To remove My Account link, delete/hide the <a href="<?php echo $account; ?>"><?php echo $text_account; ?></a> part in the same file.

MultiMerch Marketplace for OpenCart

Image


User avatar
Active Member

Posts

Joined
Sat Aug 13, 2011 5:04 pm


Post by rajithg » Tue Apr 24, 2012 7:46 pm

" Welcome visitor you can login or create an account. "

How do you modify this text ..? its in which section ...?

to be precise where is this " $text_welcome " located in ...?

New member

Posts

Joined
Tue Mar 27, 2012 11:28 am

Post by affect » Tue Apr 24, 2012 8:27 pm

All texts are stored in language files. The line you need is located in catalog/language/english/common/header.php:

Code: Select all

$_['text_welcome']        = 'Welcome visitor you can <a href="%s">login</a> or <a href="%s">create an account</a>.';

MultiMerch Marketplace for OpenCart

Image


User avatar
Active Member

Posts

Joined
Sat Aug 13, 2011 5:04 pm


Post by rajithg » Wed Apr 25, 2012 12:23 am

thanks a lot bro.... :)

New member

Posts

Joined
Tue Mar 27, 2012 11:28 am

Post by byredyre » Mon Oct 08, 2012 6:15 pm

affect wrote:You can either delete/hide the whole <div id="welcome">...
Thanks. I removed this code, because I want to decrease the height of the header. How do I remove the gap/shrink the header, where this line was?

If possible, I also want to adjust the gap between the search field and the top of the page.

I have OpenCart v1.5.4.1, with default theme.


New member

Posts

Joined
Sun Sep 30, 2012 6:04 pm

Post by TellTheWorld » Wed Mar 13, 2013 2:28 am

affect wrote:You can either delete/hide the whole <div id="welcome"> or just the <?php echo $text_welcome; ?> part in catalog/view/theme/default/template/common/header.tpl to remove the Welcome text.

To remove My Account link, delete/hide the <a href="<?php echo $account; ?>"><?php echo $text_account; ?></a> part in the same file.

Hello,

Can you tell me how to get more space between these sentences? And how I will get these letters bigger? I would really appreciate it when you can solve this! With kind regards,

TellTheWorld

New member

Posts

Joined
Wed Mar 13, 2013 2:22 am
Who is online

Users browsing this forum: Amazon [Bot], Google [Bot], Semrush [Bot] and 14 guests