T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. dare
  2. General Discussion
  3. Wednesday, 20 August 2014
  4.  Subscribe via email
Hi.
I have kinda strange problem on t3_bs3_blank template
Lets say I need to make module position in menu bar.
I know how to do it, and all is ok.
But if I set this new div not to be visible on smaller screens, bootstrap menu gets broken. When expand button is clicked, nothing happens.
This happens if I hide that position with css display:none and if I use visible-lg directly in code also
Is this a bug or I am doing something wrong?
Unfortunately cant give link to website.
Thank you
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Dare

Please open the module setting panel then add the class "hidden-xs hidden-sm" to the module class suffix field in the Advanced tab and remove all the css you added to hide the module in small screen. You can see how to add the class in the screenshot: http://easycaptures.com/fs/uploaded/832/7359413996.png

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you!
But I am bit curious now, why this way works and placing same classes in code breaks menu?
Can you explain?
Thank you.
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 again,

It's the best way to implement such stuff. About your concern, you can actually disable it in mobile manually but it's more risky as it depends on how we use css, the css rule is the best solution or not, is it conflict with something else, etc. If I were in your case, the way I would add a class suffix to the module then add css rule in the custom.css for the class to hide the module in mobile.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I see your point.
I was just bit surprised that default bootstrap classes can make mess, if used directly in code.
Thank you so much for yours help.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Anytime :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
  • Page :
  • 1


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