Forum Replies Created
-
AuthorPosts
-
It’s resolved.
add_theme_support(‘avia_no_session_support’);
below in the functions.php
Problem solved!
Using the Full Background Image Manager WordPress Plugin and adapting the css code with ‘background-size’. Fullscreen background and nicely vertically scrolling on a smartphone.
body.custom-background {
background-image: url(“/yourbackground image”);
background-repeat: no-repeat;
background-position: center top;
background-attachment: scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}Hi Yigit,
Works! Nice solution. The only problem now is that the header on the iphone is white and not transparant. Can’t figure it out..?..I’ll send you the link.
Any suggestions? (i tested it with stretch-layout and filling the edges)
Thanks!
Hans
- This reply was modified 9 years, 4 months ago by hansvanasch.
Hi Yigit,
I ‘ve updated the theme now.
- This reply was modified 9 years, 4 months ago by hansvanasch.
Hi Yigit,
You can take a look at:
http://www.shipsatsea.nl/aeris
Then look at the iphone and scroll down the content…there is something weird at the bottom….when scrolling..
Thanks!
Kind regards!
Problem solved….it’s possible with http://detectmobilebrowsers.com/
- This reply was modified 9 years, 5 months ago by hansvanasch.
Hi Elliott,
Thank you for your reply. I create my own solution.
I made a main-menu containing all the items. The secondary menu which is visible in the sidebar with the custom menu widget contains in fact the dropdown items of the main menu. Then i used css to hide the dropdown-menu of the main-menu. Now all the items are visible in the mobile menu and the main menu is partly visible in the header and the other part in the sidebar..av-main-nav ul li {
margin: 0px;
padding: 0px;
width: 100%;
display:none;
}But i’m gonna look to your proposal for the other solution…looks interesting!
- This reply was modified 9 years, 5 months ago by hansvanasch.
Hi Yigit,
Thank you for your quick response. It’s works! Have a nice day!
With kind regards,
Hans van Asch -
AuthorPosts