Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Width difference between Boxed and Full Width page layout
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Width difference between Boxed and Full Width page layout
- This topic has 13 replies, 3 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Neighborhood
-
August 18, 2016 at 6:59 pm #288184
Hi,
currently I am trying to find the right width of the page layout grid.
At the moment I have set up my images for 1170px full width, but unfortunately there are some layout differences, even if the images have the same height, they aren’t aligned at the bottom. For better understanding, I attached a screenshot. The images are sliced in 2/3 and 1/3. I hope you understand what I mean and could help me with that issue. Thanks in advance.
Attachments:
You must be logged in to view attached files.August 19, 2016 at 4:10 pm #288395Can you add a URL/login so we can take closer look?
– David.
August 19, 2016 at 5:46 pm #288439This reply has been marked as private.August 22, 2016 at 12:04 pm #288639Try adding this to your custom CSS:
.height-limit img { max-height: 365px; }
I have added
height-limit
to those two image assets.Thanks.
August 22, 2016 at 12:44 pm #288653Hi David,
Ok thank you for your help. Is there a way to keep the height as it is and build up the images on the template based width? If the images are sliced 2/3 and 1/3 and overall have the same width like what the template is programmed, everything shall work, or do I misunderstood anything? Thanks in advance.
August 23, 2016 at 11:08 am #288879Hi,
The image ratio is different, so the heights will vary slightly. The height is relative to the width of the given image ratio.
Ex, if you set both to 4 columns, the result would be different also:
August 23, 2016 at 12:09 pm #288890Thanks for your help so far.
I thought it would be possible to orientate on the templates width and build up a template in Photoshop, which has the width of the neighborhood template. Then I thought I could slice the width i.e. in 6 rows and build up my images. So the Images overall width would have exactly the width of the neighborhood template. Of course all images would also have the same height to have a clear structure.
The Swift Page Builder with it’s row options would be the perfect tool I thought. So my Photoshop template would have exact the same ratios like the Swift Page Builder rows would be sliced, therefore the Images shall actually have no unexpected width or height differences, or do I misunderstood anything? What template width does neighborhood have and how does it calculate it’s spaces between the rows?
Furthermore, I am asking myself, if it is really a good idea to fix the height of the images via adding some css rules? In example, on the mobile view, some of the images would be squeezed.
I really need to find a solution for this. Thanks in advance.
August 24, 2016 at 12:23 pm #289165Hi,
The site has a max width set on containers, the elements within are then calculated on percentages of the container so the layout is mobile friendly.
Yes, you are right – using the above I can help you amend the max width for the mobile/tablet views.
Cheers,
David.August 25, 2016 at 10:27 am #289293Hi David,
thanks so far. The first part with the containers do I understand, but unfortunately my english is not the best, so I do not clearly understand what you mean with the second part of your answer. Do you mean you can help me with that issue. Do I understand it right, that the maximum width of the Neighborhood template would help me? Thanks in advance, David.
Best regards
August 29, 2016 at 9:14 am #289613Due to responsive design ( the site resizing with your browser window as it shrinks ), it’s not really practical to design in that way. The theme uses “columns” that are percentage based and adjust as the window resizes. So while something may match up at one size, it likely wouldn’t at smaller sizes.
If you want to try, the inner container size by default is 1170px. If you’d like, you can disable the responsive functionality of the theme in the theme options.
Hope that explains it.
– Ed
August 29, 2016 at 10:14 am #289622Hi Ed,
thanks for your explanation. I understand that the theme uses responsive rules, which is great. For that reason, I wouldn’t disable this option. If I understand now everything right, it isn’t possible to build up a page with the image assets, even if they have the same height, due the problem, that they will not look as it should on mobile devices? Thank you for you help so far.
August 30, 2016 at 12:05 pm #289844Yes, you are correct.
However, if you want to go that route we can try to help you with media queries for mobile/tablet to adjust the height on each size.
– David.
August 30, 2016 at 2:17 pm #289882Hi David,
I think I will keep it as it is for now. I believe you have more knowledge about that problems and you are knowing what you do and why you build up the theme in that way. Of course it is a bit disappointing for me, but it´s better to have a shop which works fine on every device, then to have a more unique site including more errors 😉 But may be it is a proposal which you can include in a future update. Thanks so far.
Best regards
MartinAugust 31, 2016 at 10:14 am #290018Thanks Martin, will do.
– David.
-
Posted in: Neighborhood
You must be logged in to reply to this topic.