-
AuthorPosts
-
pittigeteksten Friend
pittigeteksten
- Join date:
- December 2012
- Posts:
- 58
- Downloads:
- 47
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
April 22, 2014 at 10:31 am #196978In the Purity III features layout (the default layout for the quick install version), the masthead extends to fill the whole screen width. However if I want to add a video to the masthead, only a small window is shown. Can I use the entire width for displaying video, photo’s or even a virtual tour opened within an iframe? I’d like to use this when building a new and modernized site for http://www.molenvrienden.nl (a site for the volunteers keeping monumental windmills in operation in the Netherlands).
Pierre
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 22, 2014 at 11:29 am #531936Is this the site http://www.molenvrienden.nl/ where purity iii is installed. If not provide the right one to suggest.
Add this code to custom.css , documentation http://t3-framework.org/documentation/bs3-customization#custom-css
.page-masthead .container{
width:100% !important;
}pittigeteksten Friendpittigeteksten
- Join date:
- December 2012
- Posts:
- 58
- Downloads:
- 47
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
April 24, 2014 at 7:04 pm #532315Thanks! That made it bigger, however there are still unwanted margins around the slideshow I have now in the masthead. I am building the new site on http://x.molenvrienden.nl.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 24, 2014 at 7:16 pm #532316Try adding this code to your custom.css:
.row-feature {
margin-left: -20px; margin-right: -20px;
}See if that does the trick for you with regard to the margins for the slideshow.
1 user says Thank You to TomC for this useful post
pittigeteksten Friendpittigeteksten
- Join date:
- December 2012
- Posts:
- 58
- Downloads:
- 47
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
April 24, 2014 at 8:26 pm #532318Now that I know that, I have modified it to:
.row-feature {
margin-left: -20px; margin-right: -20px;
margin-top: -100px; margin-bottom: -60px;
}This looks good in my opinion!
pittigeteksten Friendpittigeteksten
- Join date:
- December 2012
- Posts:
- 58
- Downloads:
- 47
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
April 24, 2014 at 8:36 pm #532319Wait a minute, changing the margins has unexpected effects when making the screen smaller, as you can see on the screenshot below:
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 25, 2014 at 2:26 am #532335Go to this File: /templates/purity_iii/css/custom.css
Replace this code
.page-masthead .container{ width:100% !important; }With
.page-masthead .container {
padding: 0 !important;
width: 100% !important;}
1 user says Thank You to chavan for this useful post
pittigeteksten Friendpittigeteksten
- Join date:
- December 2012
- Posts:
- 58
- Downloads:
- 47
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
April 25, 2014 at 6:50 pm #532452That works even better, since it affects the masthead only. I adjusted it to my taste as follows:
.page-masthead .container {
padding: 0 !important;
width: 100% !important;
margin-top: -60px; margin-bottom: -30px;
}AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by pittigeteksten 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Is it possible to put an iframe or a full width video in the masthead?
Viewing 8 posts - 1 through 8 (of 8 total)