-
AuthorPosts
-
janyour Friend
janyour
- Join date:
- July 2016
- Posts:
- 89
- Downloads:
- 28
- Uploads:
- 45
- Thanks:
- 5
- Thanked:
- 2 times in 2 posts
February 6, 2017 at 7:47 pm #1008602Hello,
how to get a fixed width with a grey color on the right/left like this website :
http://maxdesign.com.au/jobs/css-layouts/10-example-layout-one-fixed/
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 6, 2017 at 8:40 pm #1008629Hello
To have what you need you will need to work with less files
Purity III template defines some dimension layouts on site with the configuration from
templates/purity_iii/less/variables.less file
**// Extra small screen / phone** // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1 @screen-xs: 480px; @screen-xs-min: @screen-xs; @screen-phone: @screen-xs-min; **// Small screen / tablet** // Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1 @screen-sm: 768px; @screen-sm-min: @screen-sm; @screen-tablet: @screen-sm-min; **// Medium screen / desktop** // Note: Deprecated @screen-md and @screen-desktop as of v3.0.1 @screen-md: 992px; @screen-md-min: @screen-md; @screen-desktop: @screen-md-min; **// Large screen / wide desktop** // Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1 @screen-lg: 1200px; @screen-lg-min: @screen-lg; @screen-lg-desktop: @screen-lg-min; **// So media queries don't overlap when required, provide a maximum** @screen-xs-max: (@screen-sm-min - 1); @screen-sm-max: (@screen-md-min - 1); @screen-md-max: (@screen-lg-min - 1);
and you can easy to change the dimension layouts from that file.
you can also include each block inside a <div class="container"> it requires anyway of some css knowledge.
Regards
janyour Friendjanyour
- Join date:
- July 2016
- Posts:
- 89
- Downloads:
- 28
- Uploads:
- 45
- Thanks:
- 5
- Thanked:
- 2 times in 2 posts
February 6, 2017 at 8:57 pm #1008640Thank you, width is OK,
i need just to color the two sides with grey and keep the middle white 🙂pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 6, 2017 at 9:06 pm #1008641Try to add this to your custom.css file in this folder /templates/ja_purity_III/css/ if you do not have a custom.css file than create a new one.
.t3-mainbody { background:#fff; } .t3-wrapper { background:#yourgreycolor!important; }
Regards
janyour Friendjanyour
- Join date:
- July 2016
- Posts:
- 89
- Downloads:
- 28
- Uploads:
- 45
- Thanks:
- 5
- Thanked:
- 2 times in 2 posts
February 6, 2017 at 9:11 pm #1008643Awesome, thanks a lot !
janyour Friendjanyour
- Join date:
- July 2016
- Posts:
- 89
- Downloads:
- 28
- Uploads:
- 45
- Thanks:
- 5
- Thanked:
- 2 times in 2 posts
February 6, 2017 at 9:19 pm #1008644May i ask another question please ?
How i can get such module borders ? some thing like little shadow, you see in the screenshot ?
janyour Friendjanyour
- Join date:
- July 2016
- Posts:
- 89
- Downloads:
- 28
- Uploads:
- 45
- Thanks:
- 5
- Thanked:
- 2 times in 2 posts
February 6, 2017 at 9:21 pm #1008646pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 2 voices, and was last updated by pavit 7 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum