Welcome Guest, Not a member yet? Register   Sign In
codeigniter.com main site view needs a little fix
#1

(This post was last modified: 09-15-2021, 05:30 AM by manager.)

Hello everyone. When i open codeigniter.com main site in chrome browser it opens with horizontal scroller enabled (other browsers also same thing). 
But by the design of the site it shouldn't be (width is 100%). So i have a look into the html code and note that jumbotron content needs a little fix.
Code:
<div class="jumbotron jumbotron-fluid">
   <div class="row"> .... </div>
</div>

After div class="jumbotron jumbotron-fluid" element we should add extra div class="container-fluid" element. This will fix the horizontal scroller appearance problem. 
Bootstrap also recommend this:

Quote:To make the jumbotron full width, and without rounded corners, add the 
Code:
.jumbotron-fluid
 modifier class and add a 
Code:
.container
 or 
Code:
.container-fluid
 within.
source: https://getbootstrap.com/docs/4.3/components/jumbotron/

It's even not a problem, but i think it would be great to fix it. CI is great framework.
Thank you.

[Image: ci.png]
Reply
#2

wow, thank for concern. good
Reply
#3

Yes i hate first page too needs to be update
Enlightenment  Is  Freedom
Reply




Theme © iAndrew 2016 - Forum software by © MyBB