I hope you can assist. I have a problem that my background image does not display correctly on mobile devices and I thought it would be best to disable the Header Full Screen on tablets and phones.
Would it be possible to do this based on screen size and what would the CSS look like
Really appreciate your help with this.
- Louw
- Commercial Templates
- Tuesday, 07 April 2015
- Subscribe via email
Hi Louw
Sorry to say this option is not available as this area of the template is controlled via PHP rather than CSS.
Ciarán
Sorry to say this option is not available as this area of the template is controlled via PHP rather than CSS.
Ciarán
- more than a month ago
- Commercial Templates
- # 1
Thanks.
Would it maybe be possible to resize the background image when viewed on a tablet or phone? Or maybe show a different background image?
http://marketingsolutions.capetown/
Would it maybe be possible to resize the background image when viewed on a tablet or phone? Or maybe show a different background image?
http://marketingsolutions.capetown/
- more than a month ago
- Commercial Templates
- # 2
Hi Louw
Thank you Magnus
Try adding the following to for example the 'Phone (Portrait) Custom CSS' field in the 'Responsive Options' tab of your templates...
Depending on your taste you may wish to edit this further where 600px is the height of your image. Always ensure the height exceeds the height of the device you are setting.
Ciarán
Thank you Magnus
Try adding the following to for example the 'Phone (Portrait) Custom CSS' field in the 'Responsive Options' tab of your templates...
.touch #header_bg {
background-size: auto 600px !important;
}
Depending on your taste you may wish to edit this further where 600px is the height of your image. Always ensure the height exceeds the height of the device you are setting.
Ciarán
- more than a month ago
- Commercial Templates
- # 3
Thanks for helping with this. Unfortunately nothing changed when I inserted the code when viewed on a tablet or phone.
Would you be able to log in and check if I did it correctly?
Would you be able to log in and check if I did it correctly?
- more than a month ago
- Commercial Templates
- # 4
Sure. Details can be sent to info@joomla51.com. Please paste a link to this post in your email for our reference.
Ciarán
Ciarán
- more than a month ago
- Commercial Templates
- # 5
Thank you Louw
I have updated your template to the latest download which has improved how your background is viewed on mobile devices. Let me know if this is a suitable solution.
Ciarán
I have updated your template to the latest download which has improved how your background is viewed on mobile devices. Let me know if this is a suitable solution.
Ciarán
- more than a month ago
- Commercial Templates
- # 6
Thanks for helping out. Unfortunately the background image did not display correctly as the icons remained cut off on small screens. I added the following code in the responsive options section to make the header size smaller on mobile devices:
#header_bg {
height: 25% !important;
}
It moves the rest of the site up on certain screen sizes(hiding the background). Do you see any possible problem with the code or with this solutions?
Thanks again.
#header_bg {
height: 25% !important;
}
It moves the rest of the site up on certain screen sizes(hiding the background). Do you see any possible problem with the code or with this solutions?
Thanks again.
- more than a month ago
- Commercial Templates
- # 7
That seems perfect. I cant imagine any possible issues.
Good work... I had never even considered that option . Thank you for sharing!
Ciarán
Good work... I had never even considered that option . Thank you for sharing!
Ciarán
- more than a month ago
- Commercial Templates
- # 8
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »