Tagged: full width, Images
-
AuthorPosts
-
January 13, 2017 at 1:14 pm #1002103
Hello,
do you know how can I insert image that cover (always) the fullwidth in an article like it is in this example:
So meaning that the image always use the full screen width while the article text is formatted like it is always.
Regards
Johannes
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 13, 2017 at 3:20 pm #1002117Hi
You have to use a big image in article images are 100% width and auto fill the article container width.
RegardsJanuary 14, 2017 at 12:45 pm #1002250The thing is I would like to have this setting only for one specific article not for every. How can I do that?
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 16, 2017 at 2:20 am #1002455Hi
I am not sure what do u mean by some articles you can add the images in articles and the width is depends on the size of images.
beside it, you can use Page classes from menu options and define custom classes for specific articles.January 30, 2017 at 5:03 pm #1006807Dear Pankaj,
maybe I explained it badly. I try it a little bit more detailed.
The link I showed you is having a image in full width:
But I styled my template via custom css like this:
http://www.tourismus-schulz.de/verkehr-und-tourismus/schiffsverkehr
So with a sidebar menu and also I styled the column width which applies for the whole template.
So I would like to create an article without the sidebar menu, that only includes an article with these full-width images, that always use the full width also when you zoom out. Maybe I should insert a module or anything or can I change the column-width just for an specific article?
I hope that you kind of understand it know. I really do not know how to do it.
Regards,
Johannes
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 31, 2017 at 2:45 am #1006892Hi
To apply a css only for that page us Page class via menu options. and add that page class beofore your custom code.
Example :
page class > test
so your code would be.test article img, .article-intro img { display: block; height: auto; margin: 0 30px 15px 0; }January 31, 2017 at 5:21 pm #1007136This reply has been marked as private.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
February 1, 2017 at 2:48 am #1007211Hi
You are using sidebar layout so the content is not full width, You can change the layout from template options to no sidebar if you need to full width articles.
http://prntscr.com/e2ya47February 1, 2017 at 10:28 am #1007323Thank you so much again! I made it! 🙂
Regards
Johannes
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
February 1, 2017 at 2:02 pm #1007348You are welcome!
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by
Pankaj Sharma 8 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum