- This topic has 3 replies, 2 voices, and was last updated 4 years, 10 months ago by
Support. This post has been viewed 1214 times
-
AuthorPosts
-
August 25, 2021 at 11:11 am #10039213
rouxjean
ParticipantHowdy, sorry if this is not clear, but I’m looking for the best way to replicate a specific simple layout (see private website link). Nothing fancy, pretty much a static page.
It is essentially a body with a background image that takes all the screen with 5 distinct sections on top of it, from top to bottom :
1-“squares row”, width 100%, with different blue shades and a logo in the middle (white square).
2-another section which is just centered text above the background
3-another section, 100% width, with a single cell with a background color & text
4-another section containing icons element
5-and finally the last one which is another cell with a background color but this time not 100% width.Thanks, back in the day I would have simply do this with a table but with layers & this template, I’m a little confused. Thanks
Template Version: 8.1August 25, 2021 at 10:19 pm #10039218Support
KeymasterHello, the responsive layouts are created using Bootstrap. Here are a few tips for that layout.
– To set the background to the page you can add this css:
(css/custom.css)
html { background: url(img/bg.jpg) no-repeat center center fixed; background-size: cover; }– To set 100% container and row:
<div class="container-fluid"> <div class="row"> <div class="col"> Content </div> </div> </div>
– To set a default container that has max-width ,row and 3 columns:
<div class="container"> <div class="row"> <div class="col"> Column </div> <div class="col"> Column </div> <div class="col"> Column </div> </div> </div>– To set the text on center:
<div class="container"> <div class="row"> <div class="col text-center"> Column </div> </div> </div>– To set the text on center:
<div class="container custom-bg"> <div class="row"> <div class="col text-center"> Column </div> </div> </div>CSS:
(css/custom.css)
.custom-bg { background: url(img/bg.jpg) no-repeat center center; }More information and a lot of examples that can be used on Porto:
– https://getbootstrap.com/docs/5.1/layout/containers/
– https://getbootstrap.com/docs/5.1/layout/columns/Please note that our Support Center is here to help all the buyers with questions related to the template, but not customization to the buyers needs.
August 25, 2021 at 11:19 pm #10039219rouxjean
ParticipantVery helpful thank you. One last question, how can I have transparent backgrounds for these containers ?
August 26, 2021 at 9:09 pm #10039224Support
KeymasterHello, please note that the containers does not have any default background color/image. Containers, Row and Columns are just elements to build the layout blocks.
Kind Regards.
Jonas
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.