Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

banner is not resizing in Apple IOS devices #16

Open
Phanti09 opened this issue Jan 4, 2023 · 3 comments
Open

banner is not resizing in Apple IOS devices #16

Phanti09 opened this issue Jan 4, 2023 · 3 comments

Comments

@Phanti09
Copy link

Phanti09 commented Jan 4, 2023

Hello and thank you for the nature template.
I'm using it for my personal website bommelreisen.de. I created an into with the banner module. Everything looks nice in any browser, the background picture is resizing perfectly. But if I use my IPad or Iphone, there is only a small part of the background image visible. Resizing does not work at all.
Maybe I'm doing something wrong in the site module? I added some screenshots.
Thanks for your comment.
Stefan

Bild_2023-01-04_152029234
![Bild_2023-01-04_151415844](https:
IMG_4947
//user-images.githubusercontent.com/99402567/210573971-890bbe82-8bec-48a9-8047-fa0fa6cdc484.png)

@drmenzelit
Copy link
Owner

The banner is working as defined:
.banner-overlay { height: var(--bannerheight); background-repeat: no-repeat; background-attachment: fixed; background-position: center,center; background-size: cover; }
You can change the definition in your user.css file (play with background-position and background-size)
And for the text try to avoid inline css styling.

@Phanti09
Copy link
Author

Phanti09 commented Jan 5, 2023

Hello,
the same issue happens also at your demo page in styles 2,3 and 4. When I use my Iphone for the demo, the background picture for styles 2, 3 and four is empty.
Do you have further instructions to the usage, especially how to use the styles or banner functionality. I'm more or less a Joomla user, not a developer.
Thanks a lot
Stefan

@drmenzelit
Copy link
Owner

It seems to be a problem in Iphone (I can't test, because I haven't one). Try with the following css code (create a user.css file inside media/templates/site/nature/css)

.banner-overlay { background-attachment: scroll; background-position: top, left; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants