-
AuthorPosts
-
bigrats Friend
bigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 3, 2015 at 1:27 pm #208216I’ve made different html modules for masthead position on different menu.
i want to know how to set full width background image for masthead position on different menu.
and how about the proper image size for the background images ?
thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 6, 2015 at 10:04 am #576483If you want to show fullwidth for masthead position, you can use this way
Create templates/purity_iii/css/custom.css file and add new rule
.page-masthead .container {
padding: 0px;
margin: 0px;
width: 100%;
}bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 10, 2015 at 11:29 am #576957thanks, and can i use different background image in masthead for different menu?
i try masshead module, but didnt work.
bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 10, 2015 at 11:29 am #643265thanks, and can i use different background image in masthead for different menu?
i try masshead module, but didnt work.
bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 10, 2015 at 11:29 am #741919thanks, and can i use different background image in masthead for different menu?
i try masshead module, but didnt work.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 14, 2015 at 5:35 pm #577392Thanks,
but i dont really know how to deal with these code from the guide you gave me.
after i put the example from the guide, it became like :
how to fix it ??
thanks a lot !!!!
bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 14, 2015 at 5:35 pm #643689Thanks,
but i dont really know how to deal with these code from the guide you gave me.
after i put the example from the guide, it became like :
how to fix it ??
thanks a lot !!!!
bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 14, 2015 at 5:35 pm #742336Thanks,
but i dont really know how to deal with these code from the guide you gave me.
after i put the example from the guide, it became like :
how to fix it ??
thanks a lot !!!!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 15, 2015 at 10:05 am #577485I’ve done it this way, without the extra module – use the Div id that corresponds to your module id number (use developer tools ie firebug to find the correct div id) here its number 115
div#Mod115
{ background: url(“/images/image name.jpg”) no-repeat center center;
width: 100% !important; }trouble is now Ive got to work out how to get the text nicely visible and remove unwanted margins.
Also the image is only going 100% of its own size not the screen size.
(so maybe better to use the masshead module anyway as presume it sorts all this out)
see it in progress in the masthead module postion here:
http://playground.cat.org.uk/postgraduate-courses/msc-sustainability-and-adaptation-planningbigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 15, 2015 at 11:20 am #577487Thanks,but my site is on localhost now, so is there other way to let me know how to fix it?
bigrats Friendbigrats
- Join date:
- June 2015
- Posts:
- 26
- Downloads:
- 8
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 15, 2015 at 11:20 am #577488Thanks , I’ll try.
<em>@juliejo 483002 wrote:</em><blockquote>I’ve done it this way, without the extra module – use the Div id that corresponds to your module id number (use developer tools ie firebug to find the correct div id) here its number 115
div#Mod115
{ background: url(“/images/image name.jpg”) no-repeat center center;
width: 100% !important; }trouble is now Ive got to work out how to get the text nicely visible and remove unwanted margins.
Also the image is only going 100% of its own size not the screen size.
(so maybe better to use the masshead module anyway as presume it sorts all this out)
see it in progress in the masthead module postion here:
http://playground.cat.org.uk/postgraduate-courses/msc-sustainability-and-adaptation-planning</blockquote> -
AuthorPosts
This topic contains 15 replies, has 3 voices, and was last updated by Ninja Lead 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum