How to view responsive website on Imac and Ipad? Topic is solved

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
guy_in_ohio
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sat Aug 11, 2012 9:44 pm

How to view responsive website on Imac and Ipad?

Post by guy_in_ohio » Wed Feb 14, 2024 1:25 am

For Pavel-ww,

I am trying solve the same problem. I know I don't want to use background-attachment: fixed; but I don't understand how to use the .scoll-bg either. URL: https://neilrisko.com/HCE/index.php/one-page-new
Last edited by pe7er on Wed Feb 14, 2024 7:13 am, edited 1 time in total.
Reason: Please do not post new issues in other topics. Open a new topic instead. Mod note: split from https://forum.joomla.org/viewtopic.php?f=815&t=1001675

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1638
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to view responsive website on Imac and Ipad?

Post by Pavel-ww » Wed Feb 14, 2024 8:30 am

guy_in_ohio wrote:
Wed Feb 14, 2024 1:25 am
For Pavel-ww,

I am trying solve the same problem. I know I don't want to use background-attachment: fixed; but I don't understand how to use the .scoll-bg either. URL: https://neilrisko.com/HCE/index.php/one-page-new
Hi. Explain your problem in detail

guy_in_ohio
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sat Aug 11, 2012 9:44 pm

Re: How to view responsive website on Imac and Ipad?

Post by guy_in_ohio » Wed Feb 14, 2024 10:38 am

I what to us a backgound image to scroll as it would with background-attachment: fixed;
That does not work in safari.

I have

#g-header {
background-image: url('backgroundimageexample.jpg');
background-repeat: no-repeat, no-repeat;
background-attachment: fixed;
}

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30945
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: How to view responsive website on Imac and Ipad?

Post by Per Yngve Berg » Wed Feb 14, 2024 3:48 pm


guy_in_ohio
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sat Aug 11, 2012 9:44 pm

Re: How to view responsive website on Imac and Ipad?

Post by guy_in_ohio » Fri Feb 16, 2024 12:37 pm

If you look at https://neilrisko.com/HCE/index.php/one-page-new it's jittery in Safari.

body {
background-image: url("img_tree.gif");
background-repeat: no-repeat;
background-attachment: fixed;
}

That will also jitter.

guy_in_ohio
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sat Aug 11, 2012 9:44 pm

Re: How to view responsive website on Imac and Ipad?

Post by guy_in_ohio » Mon Feb 19, 2024 12:36 pm

Any idea what I need to fix this?

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1638
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to view responsive website on Imac and Ipad?

Post by Pavel-ww » Tue Feb 20, 2024 7:28 am

guy_in_ohio wrote:
Mon Feb 19, 2024 12:36 pm
Any idea what I need to fix this?
Hi.

background-attachment: fixed; not supported by iOS.

The easiest way is to change this to background-attachment: scroll; using special media queries for Apple devices. You can find them in Google.

But if you want keep background image fixed behavior on iOS devices, there is no simple way. Only workarounds. Google the subject "background-image fixed ios hack"


Post Reply

Return to “Templates for Joomla! 4.x”