For ZC 2.1.0., this can be done a lot easier by using the existing store name and eliminating the need for language files.
For bootstrap template, add the following line as a new line in includes/templates/YOUR_TEMPLATE/common/tpl_header.php after
Code:
<nav class="navbar fixed-top mx-3 navbar-expand-lg rounded-bottom" aria-label="<?= TEXT_HEADER_ARIA_LABEL_NAVBAR ?>"><nav class="navbar fixed-top mx-3 navbar-expand-lg rounded-bottom" aria-label="<?= TEXT_HEADER_ARIA_LABEL_NAVBAR ?>">
Code:
<?php echo STORE_NAME; ?></p>
in responsive_classic, search for the following:
Code:
<?php if ( $detect->isMobile() && !$detect->isTablet() || $_SESSION['layoutType'] == 'mobile' ) {
echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a></div>';
} else if ( $detect->isTablet() || $_SESSION['layoutType'] == 'tablet' ){
echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a></div>';
} else {
Replace that with:
Code:
<?php if ( $detect->isMobile() && !$detect->isTablet() || $_SESSION['layoutType'] == 'mobile' ) {
echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a><?php echo STORE_NAME; ?></p></div>';
} else if ( $detect->isTablet() || $_SESSION['layoutType'] == 'tablet' ){
echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a><?php echo STORE_NAME; ?></p></div>';
} else {
For your CSS:
In bootstrap, add the following to your site_specific_styles.php:
Code:
`.tradeMark {float:left;
margin:0;
padding:0;
color: #FFFFFF; (or the code for .leftBoxHeading)
font-size: 1em;
font-weight:normal;
}
If you are using responsive_classic or a clone thereof, I suggest you should have an override css stylesheet like includes/templates/YOUR_TEMPLATE/stylesheet_zcustom.css add the above rule to that file.
Bookmarks