March 13, 2015 at 11:37 am
#717
stephen
Keymaster
Hi,
1, You can follow my solution:
– Go to file: app/design/frontend/sns_riveshop/default/template/page/html/header.phtml find and replace the bellow code:
<?php
if(Mage::getStoreConfig('design/header/logo_src')!=''){ ?>
<img src="<?php echo $this->getLogoSrc(); ?>" alt="<?php echo $this->getLogoAlt() ?>" />
<?php
} ?>
by:
<?php
if(Mage::getStoreConfig('design/header/logo_src')!=''){ ?>
<img class="large-logo" src="<?php echo $this->getLogoSrc(); ?>" alt="<?php echo $this->getLogoAlt() ?>" />
<?php } ?>
<?php
if(Mage::getStoreConfig('design/header/logo_src_small')!=''){ ?>
<img class="small-logo" src="<?php echo $this->getLogoSrcSmall(); ?>" alt="<?php echo $this->getLogoAlt() ?>" />
<?php} ?>
– Add the bellow css for your site:
#logo .small-logo{display: none;}
@media (max-width: 768px){
#logo .small-logo{display: block;}
#logo .large-logo{display: none;}
}
– Go to Admin >> System >> Configuration >> Design >> Header >> Small Logo Image Src : path to small logo
2, Please give me more detail
– or how do you create a static block in the header / navigation for just the icons?
Useful
Recent Topics
Support Policy
- The time respons: 1-2 days
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7