Jump to content
  • 0

Cms Plugin: How Get 100% Width For A Block In Page Content


serge

Question

These 2 pages do have a top light blue block I would like it will be 100% width.

 

   http://dev-blesta.netpublica.com/

   http://dev-blesta.netpublica.com/about-us

 

 

I was able to get it 100% width at doing this in css of my theme :

.container {
width:100%; 
}

but doing that way give other pages content 100% width when I want only these light blue top block being 100% width and not the rest.

 

 

 

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

The best way is to move the jumbotron outside of its current container, as Paul mentioned.

 

However, if that's not doable, you could do absolute positioning, e.g.

#myJumbotron {
left:0;
width:100%;
position:absolute;
}


/* the div immediately after #myJumbotron */
div.container {
margin-top:200px;
}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...