Hi Support,
When viewing the website in mobile view there is a button which appears that says My Account instead of Welcome Guest – Please Login or Register an account.
Where is this mobile top bar programmed (Where is the file) only i wish to change it to no link and just a welcome message? it is not located in common/header.tpl
Thanks
EckoSean
|
|
Hi,
1) This link is generated by JS to reduce the vertical space taken in small screen devices. You can see the code in catalog/view/theme/pavilion/javascript/common.js . Just check for the responsive_header() function.
2) Original welcome text and other elements are hidden with CSS in the main stylesheet:
/*** hide some elements ***/
#main_navigation > .tb_nav,
#main_navigation_row #menu,
#menu,
#menu > ul > li > div:before,
#cart .heading,
#header[class] .tb_widget_language,
#header[class] .tb_widget_currency,
#header[class] #user_navigation,
#header[class] #welcome_message,
.tb_widget_site_search > .tb_search_wrap,
.tb_widget_cart > #cart,
#view_mode,
#menu_home,
#shopping_cart .tb_cell_name,
#wishlist .tb_cell_name,
.cart-info table .name div + small
{
display: none;
}
You can either modify this code directly, or overwrite it from the Theme Settings > Custom > Custom Stylesheet panel.
BR,
ThemeBurn team
|
|