The Joomla!® User Experience Portal

Welcome, Guest
Username Password: Remember me

Wrong concept to style Joomla 3.0 core frontend template
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Wrong concept to style Joomla 3.0 core frontend template

Wrong concept to style Joomla 3.0 core frontend template 8 months, 4 weeks ago #1174

I think the core bootstrap classes should not be styles over. FOr example in core Jooml template for

<div class="container">

you use

.container {
background-color: white;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
padding: 20px;
border: 1px solid rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
-webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05);
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05);
}


But container is used in many other places. FOr example in nav bar. You can find it in Responsive navbar BS example.

So if I try to use it I get

ScreenShot2012-09-21at4.09.53PM.png


I think it have to bee separate class.

<div class="container main">

and give this stiles for main frame of the site to

.container.main

Re: Wrong concept to style Joomla 3.0 core frontend template 8 months, 4 weeks ago #1179

Good suggestion, I'll get that updated. For your navbar example you don't need a container class though, check the markup here twitter.github.com/bootstrap/components.html#navbar
-Kyle Ledbetter

Re: Wrong concept to style Joomla 3.0 core frontend template 8 months, 3 weeks ago #1194

This what I use to markup. Please look URL you ave and Responsive navbar. You will see that this use container class.

Re: Wrong concept to style Joomla 3.0 core frontend template 8 months, 3 weeks ago #1200

When you're using a navbar inside the body like in your usage, you don't use container. That's only for the fixed navbar top or bottom. Check the markup in my screenshot:

no-container.jpg
-Kyle Ledbetter

Re: Wrong concept to style Joomla 3.0 core frontend template 8 months, 3 weeks ago #1201

2012-09-25_09-47-03.png

Re: Wrong concept to style Joomla 3.0 core frontend template 8 months, 3 weeks ago #1202

Right, you CAN you use but you aren't REQUIRED to use it. The container class is when you want the container width, and you don't use it if you're already inside a container
-Kyle Ledbetter

Re: Wrong concept to style Joomla 3.0 core frontend template 8 months, 3 weeks ago #1204

OK, Good

But principe still applies

Re: Wrong concept to style Joomla 3.0 core frontend template 6 months, 1 week ago #1377

Another case. I am integrating timelineJS with is actualy bootstrap element. ANd it uses container class.

2012-12-12_12-18-57.png


And I believe it is not last case. If you do not mind, could you fix it?
  • Page:
  • 1
Time to create page: 0.53 seconds