Layout creation
Drag and Drop the elements in your template to construct your page. Organize them like you want.
Color and Design
Play with the styles to create your own design with gradient, rounded corners, shadows and much more.
Responsive design
Set up your responsive behavior and select which element to show or hide on different resolutions.
Template Creator Joomla! Wordpress
joomla template
Latest version for
5.4.5
joomla template
Latest version for
3.4.5
ios background fixed problem

There are some (obscure ?) reasons why Apple would not enable the fixed position for the background images into its operating system for mobiles, called iOS. This occurs if you have an iPad, or an iPhone for example.

What happens ?

You image will be fixed, giving you a sort of parallax effect, on all browsers and devices excepted on iOS. This means that your website will not look the same.

Where is the problem ?

Fixed or not, this is not a big problem, right ? The problem may come if you want to apply a cover sizing to your image, that is a background of your body or another big area. Explanations :

  • the body is the whole page of your website, it has a long height
  • setting the image as fixed, will make it stay at the same place in your window / screen
  • giving the cover sizing will make your image take the whole area to fill every space so that there is no blank
    • all devices excepted iOs : the image is fixed, the cover sizing will then be limited to your screen size and the image will cover it correctly
    • iOs : it does not accept the fixed position, then your image will cover the entire area given by the html tag (your body or whatever you have selected). The image will be stretched to cover all this place, it will be totally zoomed in and distorted. This is awful

What is the solution ?

Hopefully the CSS have a solution to limit this problem : you can detect if you are using an iOS device and give a custom css property to deactivate the fixed position and set another sizing method that is more accurate for this situation. All other browsers will be unchanged.

 

Example of CSS code :

#wrapper {
    background: url('../images/my_image.jpg') center center no-repeat fixed;
    background-size: cover;
}    

This will apply the image as background, fixed position with a cover sizing. You can do that simply into Template Creator CK by editing the styles options and set your images and the other options.

To fix the problem on iOs, you can add this code

@supports (-webkit-touch-callout: none) {
#wrapper {
    background: url('../images/my_image.jpg') center top no-repeat scroll;
    background-size: auto 100vh;
}    
}

This will detect the device, remove the fixed position and give some custom positioning and size to your image to make it look better especially on Apple devices. You can adapt this code to your needs, and you can paste this into Template Creator CK using the Add some custom CSS feature.

 

 

 

Responsive design joomla template

Template creator creates some Responsive Design Joomla templates.

You choose how the template is displayed with the mobile devices.

 

money back guarantee

You will have a 30 day trial, if the software does not fit your needs you can ask for a refund*

* see our refund policy

 

but template creator

livre creation template joomla 3

200 pages pour apprendre à créer votre template Joomla! 3 de A à Z.

Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline