The bottom line is this: the logo needs to be scaled depending on the size of the browser window, the fact is that the logo is loaded through the joomla admin panel. How to make it rubber? In bootstrap 2, there was a row-fluid, he drove everything himself, and now do it manually?
2 answers
Honestly, you need to look at the layout example, but if the logo is simply inserted by a picture, then this picture should be assigned the img-responsive class.
<div class="container-fluid"> <div class="row"> <div class="col-md-4 logo"> <?php if ($tmpl_logo) : ?> <a href="/" ><img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($tmpl_logo);?>" alt="MYLOGO" **class="img-responsive"** /></a> <?php endif;?> </div> |
<div class="container-fluid"> <div class="row"> <div class="col-md-4 logo"> <?php if ($tmpl_logo) : ?> <a href="/" ><img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($tmpl_logo);?>" alt="MYLOGO"/></a> <?php endif;?> </div> - @Amlo, see comment above - cema93
- Thanks a lot guys! It all worked. Still, Bootstrap-3 made things a bit more complicated, unlike the 2nd. - Amlo
|