-
AuthorPosts
-
August 5, 2022 at 12:19 pm #1360785
Hi,
I would need help with Responsive customization please. On the website (link in private content) there are 6 pages with offers. The title consists of 3 elements: An image with a headline shifted to the left, then a narrow image (brown overlay) and then a text. The height of the first image is set at 100%.
Below 767px screen width the image becomes extremely long. How can I reduce the height of the image here to e.g. 50%?
It concerns each of the 6 pages under the menu item ANGEBOTE.
Thank you very much and best regards, Sabine
Change column height for mobile devices
Translated with http://www.DeepL.com/Translator (free version)
August 5, 2022 at 6:18 pm #1360838Hey Sabine,
I’m getting a 404 error on the page you linked to, please check the URL. If you have a screenshot highlighting what you would like to adjust on mobile screens, then please share that with us as well.
Best regards,
RikardAugust 5, 2022 at 7:20 pm #1360853Hi Rikard,
I’m sorry, it was too hot today …. the new link is in the private content …. ;)
Best ragrds, Sabine
August 5, 2022 at 8:35 pm #1360863Hi,
Thanks for that. I had a look at the page you linked to on mobile, but I’m not sure I understand exactly what you would like to change. Could you share a screenshot highlighting the changes you would like to make please?
Best regards,
RikardAugust 8, 2022 at 12:43 pm #1361102Hi Rikard,
I have put the screenshots in the dropbox. It is about the height of the first column. It is set to 90% for the normal laptop. Below 767px screen width the image stretches. The height had to be set so that the image is completely visible on the screen – maybe only as a square. I have already tested different codes, but I always get the wrong one ….
I hope there is a solution ;)
Thanks and many greetings,
SabineAugust 8, 2022 at 2:48 pm #1361122Hi,
Thanks for that. I think it depends on which device you are using, if the image is displayed in full or not? You can try using CSS though:
@media only screen and (max-width: 767px) { .page-id-28 #av_section_1 .flex_column { width: 80%; display: table; margin: 0 auto; } }
But chances are that you will need a lot of CSS if you want to display them exactly the same on all types of devices.
Best regards,
RikardAugust 9, 2022 at 10:11 am #1361221Hi Rikard,
I found no page with page-id-28. I have id: 30, 32, 34, 36, 38 and 54 for this 6 pages. I changed the id, but the code does not work – i am so sorry.
I have only used the code so far and don’t quite understand what else I would need to enter besides the code. I have very rarely worked with CSS codes before.
I am asking for help again as I need to finish the page this week.
Thank you very much and best regards,
Sabine- This reply was modified 2 years, 3 months ago by TakiwaSoulArt.
August 10, 2022 at 12:39 am #1361293Hi,
Thank you for the update.
You have to apply a unique class name to the columns and specify the max-height property on smaller screens. In the Angebote > Heilbehandlungen page for example, you have to edit the first column element within the very first color section, apply a unique class name (ex. “av-angebote-columns”), then use the following css code to apply a maximum height to the columns on smaller screens.
@media only screen and (max-width: 768px) { .av-angebote-columns, .av-l4zdmdju-da9ad5719cfe00250f8791b5bfa001f6 { max-height: 300px; } }
This is how the column should look after applying the modifications above.
Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvw1zlAhUAl-JfsZ_b?e=cMBF6y
Best regards,
IsmaelAugust 10, 2022 at 10:04 am #1361318Hi Ismael,
thank you so much guy – you are great and I checked how to use css codes. It works. Thank you for your patience :)
Much greetings and best regards,
SabineAugust 11, 2022 at 8:51 am #1361422Hi Sabine,
I’m glad that Ismael could help you :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Change column height for mobile devices’ is closed to new replies.