Pavilion Theme – Mobile View – My Account Top Bar

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemePavilion Theme – Mobile View – My Account Top Bar

This topic has been marked as not resolved.

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

April 16, 2015 at 6:27 pm #40095

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

April 20, 2015 at 5:52 pm #40207
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.