We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Guest
  2. Motivator Hole-in-One Smile Seeker
  3. General Discussion
  4. Tuesday, 01 July 2014
  5.  Subscribe via email
Hi!

I've 3 position in header:
CUSTOM POSITION(created by me) - LOGO - LANGUAGESWITCHERLOAD

In some screen (medium) languageswitcherload positition (which contains a custom html), overlaps the logo image, while CUSTOM POSITION work correctly.
How can I edit bootstrap code to solve this problem?
Thanks in advance!


Here the position code in header.php:

CUSTOM POSITION

<div class="col-xs-12 col-sm-4">
<jdoc:include type="modules" name="<?php $this->_p('header-1') ?>" />
</div>


LOGO

<div class="col-xs-12 <?php echo $logosize ?> logo">
<div class="logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
<a href="/<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
<?php if($logotype == 'image'): ?>
<img class="logo-img" src="/<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class="logo-img-sm" src="/<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
<?php endif ?>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan"><?php echo $slogan ?></small>
</div>
</div>


LANGUAGESWITCHERLOAD

<div class="col-xs-12">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
Attachments (1)
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
1
Votes
Undo
It happens even if I change languageswitcherload position with headsearch position...
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Claudio,

It's because of the position size define. Here is the steps:

1. Change the logo position size from col-sm-8 to col-sm-4

$logosize = 'col-sm-12';
if ($headright = $this->countModules('head-search or languageswitcherload')) {
$logosize = 'col-sm-4';
}


2. Define size for the new position

<div class="col-xs-12 col-sm-4">

<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />

</div>



If you still have problem, please let me know.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.