| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
hierarchy tree | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() I want to put a break between "Welcome to" and the company name. I would like to set the font size of the company name to 16 or so keeping the size of the "Welcome to" the same. The location.tpl file seems to deal with the hierarchy tree. How would I modify the code for the "Welcom to Company Name" at the top of the home page.
Thank you!
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#12
|
|||||||
|
|||||||
![]() I am interested to see how I (we) can do this per my question in the last post above.
However, I tried modifying the "welcome.tpl" file as follows: {* $Id: welcome.tpl,v 1.23.2.1 2005/04/23 08:32:48 max Exp $ *} {if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''} <H3>{$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie|replace:"\'":"'"} </H3> {else} <!--<H3>{$lng.lbl_welcome_to} { $config.Company.company_name }</H3>--> {/if} {$lng.txt_welcome} <P> {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} <P> {include file="customer/main/featured.tpl" f_products=$f_products} notice that I just commented out the <!--<H3>{$lng.lbl_welcome_to} { $config.Company.company_name }</H3>--> portion of the script. If I leave it like this, will it affect any other portion of the script? Thanks!
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#13
|
|||||||
|
|||||||
![]() you should get used to the smarty syntax for commenting things out by using {* *}
as for your question, what you have commented out above will not effect the rest of the template,...you might as well comment out the {else} as well |
|||||||
#14
|
|||||||
|
|||||||
![]() Quote:
Can I get a comment on this?
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#15
|
|||||||
|
|||||||
![]() just change it using css, wrap it in <span style="font-size:16px"></span>
|
|||||||
#16
|
|||||||
|
|||||||
![]() Thanks!
Anoter question on this topic: How can I change the name that appears on the home name of the hierarchy tree from displaying the "Company Name" to the caption that reads "Home"? Thanks again!
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#17
|
|||||||
|
|||||||
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|