Home>Support>responsive background or ‘sticky row/widget’

responsive background or ‘sticky row/widget’

I made a background with a transparent row on top. This works nice to create the desired effect, however the background is not responsive.

A solution would be to make a sticky ‘hero’ image. Is this possible? How would i do that?

Thanks

URL: http://kapper.sierink-wp.nl/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 25 days ago Andrew Misplon
    Hi, I Work Here

    Hi Mail Box

    The manner in which you’ve spaced your row isn’t responsive, that’s the challenge here. Let me dig up a thread I worked this morning on the same topic.

  2. 9 years, 25 days ago Andrew Misplon
    Hi, I Work Here

    Here we go:

    Thread: Page Builder background image won’t rescale for mobile devices

    Please, take a spin through that thread. It all comes down to how you’re adding space above and below your text. Let me know how that goes.

  3. 9 years, 25 days ago mail box

    Studied the topic, but i have no clue where to start. Also that topic is about full size pictures, while i have a background which is not responsive.

    I would like to achieve the scrolling effect like on this page: http://quinthaneveld.nl/

  4. 9 years, 25 days ago Andrew Misplon
    Hi, I Work Here

    Sure; please, see: Thread: How to add parallax scrolling to a Page Builder row.

  5. 9 years, 24 days ago mail box

    That is nice, 2 questions:
    I can’t adjust the fontsize of the text displayed in the parallax image.
    How do i get rid of the white on top of and below the parallax image?

  6. 9 years, 24 days ago Andrew Misplon
    Hi, I Work Here

    To get rid of of some of the space above, add the following to Appearance > Custom CSS:

    /* Home */
    
    .home #main {
    padding-top: 0;
    }
    

    To rid of the rest, open the Visual Editor widget, click over to the Text tab and remove the first paragraph tag. If there is none just make sure there are no extra spaces there. Also, in the Visual Editor widget, un-check the auto paragraph checkbox at the bottom of the widget.

    The content size is controlled by the Vantage stylesheet. To adjust, you can try adding the following to Appearance > Custom CSS:

    /* Adamrob Parallax */
    
    .entry-content .adamrob_parallax h1 {
        font-size: 1.7em;
    }
    
    .entry-content .adamrob_parallax h3 {
        font-size: 1.7em;
    }
    

    Adjust as required.

  7. 9 years, 24 days ago mail box

    Thanks, it is starting to look good.
    Only thing is that the image in the parallax section is not responsive and on an android device it does not stay in the center of the image like it does on chrome or firefox

  8. 9 years, 24 days ago Andrew Misplon
    Hi, I Work Here

    Would it be possible for you to create a temporary admin account for us so we can log in and take a look? You can create the account with the following email address:

    [email protected]

    Just navigate to Users > Add New in your WordPress admin. Enter siteorigin for the username and [email protected] for the email address. Make sure you’ve selected Administrator for the role and enabled the “Send Password” field so we receive the details.

    Once we’re finished taking a look, you can delete this account. We’ll let you know when to do that.

  9. 9 years, 24 days ago mail box

    Andrew, the above mentioned issues are solved by removing the fix height in the parallax settings.
    Remains one other thing and that is that the font-size of the text in the parallax section is not correct on android devices. It remains quite small. I changed the em to px in the custom css you gave before but that did not help.
    Would you need an admin account for that?

  10. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Not sure about Android, I don’t have a device to test on at the moment. Either way we should drop the text size down a bit for mobile, or at least try doing so. Add:

    @media (max-width: 680px) {
    
    	.entry-content .adamrob_parallax h1 {
    	    font-size: 15px;
    	}
    
    	.entry-content .adamrob_parallax h3 {
    	    font-size: 13px;
    	}
    
    }
    

    Adjust as required. With that we’re setting text size up to 680px, after that resolution our previous rules, the ones I sent before, those will kick in.

  11. 9 years, 23 days ago Private Message - WordPress

    This is a private message.

  12. 9 years, 23 days ago mail box

    the css does not make any difference, whether i give 20px or 5 px, font stays the same in android.
    It does work on my laptop, when i decrease the size of the screen to below 680px, the font-size changes.

    I made an account for you, so you can have a look.
    My hoster has an extra security layer, the login and password are given on the login screen (they are both antagonist)

  13. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for explaining. The CSS is correct and in place so I’m not sure why the font sizes would persist on Android. Can you clear your browsers cache on your phone? Perhaps it’s a caching issue.

  14. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    You can perhaps try this:

    @media (-webkit-min-device-pixel-ratio: 1.5),  
           (-o-min-device-pixel-ratio: 3/2),  
           (min--moz-device-pixel-ratio: 1.5),  
           (min-device-pixel-ratio: 1.5) {  
           /* high resolution styles */ 
    
    	.entry-content .adamrob_parallax h1 {
    	    font-size: 15px;
    	}
    
    	.entry-content .adamrob_parallax h3 {
    	    font-size: 13px;
    	}
     
    }  
    

    Use the above and insert test sizes to see what happens on Android. Bit of a complex topic:

    http://stackoverflow.com/questions/17102161/how-to-use-media-queries-for-android-devices-with-android-version-2-2-1-and-2-3

  15. 9 years, 23 days ago mail box

    Cleared the cache but no luck there.
    Your latest css does not do anything either unfortunately.

  16. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Phew, not sure we can offer anything further on this. If I knew the answer I’d certainly send it along. This is a third-party plugin so we’re already quite far along in terms of adding responsive behaviour to it’s workings. Hopefully we’ll have Page Builder’s native parallax feature sorted for the next release. That should make things a bit easier.

  17. 9 years, 23 days ago mail box

    I understand and certainly appreciate your support so far. I’ll try to contact the plugin developer.
    And it would be nice to see page builders parallax feature coming soon!
    Thanks again

  18. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for your understanding.

    It’s a tough little question. My understanding of the stackoverflow thread I sent is that your phone is using a higher res which is why our media queries aren’t working.

    When we set the main sizes:

    /* Adamrob Parallax */
    
    .entry-content .adamrob_parallax h1 {
        font-size: 1.7em;
    }
    
    .entry-content .adamrob_parallax h3 {
        font-size: 1.7em;
    }
    

    Did those changes reflect on your phone?

  19. 9 years, 23 days ago mail box

    No, whatever size i give in custom css they are not reflected on the phone (or tablet).
    Phone or tablet always show the same size. No difference in landscape or portrait.

  20. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    That’s strange. Try this:

    /* Adamrob Parallax */
    
    .entry-content .adamrob_parallax h1 {
    color: red !important;
        font-size: 20px !important;
    }
    
    .entry-content .adamrob_parallax h3 {
    color: red !important;
        font-size: 20px !important;
    }
    

    Temporarily remove all of your Custom CSS and try just the above. See it on the phone?

  21. 9 years, 23 days ago mail box

    No, but it does on my laptop

  22. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Can you test with another browser on Android?

  23. 9 years, 23 days ago mail box

    I found something:

    I use chrome on my android, there is this option to display the desktop version. When i select that it does reflect the changes.

  24. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    I’ve run a bunch of Google searches now. I’m not winning. No idea why our changes would be ignored. My idea to try another browser was to see if there was a caching issue.

    Another idea is to open a private browsing window on the phone and browse using that in mobile view.

  25. 9 years, 23 days ago mail box

    On the build-in browser of laspass it works fine as well, so it must be a chrome issue.

    But when i switch to ‘use the desktopversion’ it works fine as well.

  26. 9 years, 23 days ago mail box

    The incognito window in chrome has the same issue. But also shows it correctly when asking for the desktopversion.

  27. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for the feedback. Tough one for sure. So the challenge is that in mobile site mode Chrome Android isn’t seeing our Custom CSS changes. Did some more searching now. Still no closer to an answer. Sorry.

  28. 9 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Ok cool, so that most likely rules out a caching issue then.

  29. 9 years, 23 days ago mail box

    Found a workaround:

    Inside the edit parallax screen don’t use the standard text or visual editor but use the page builder.
    I made inside the pagebuilder a new row and added a visual editor widget.

    Type in your text and make the background of both the row and widget transparent.

  30. 9 years, 22 days ago mail box

    Unfortunately the parallax effect does not work on the android devices. But i’m not sure if it worked before. I concentrated on the font size. There is no need to make the row or widget transparent, it works either way.

    One last thing, the setting for hover above the menu does not work. It did before but probably i changed something but i can not discover why it stopped working now. (kapper.sierink-wp.nl)

  31. 9 years, 22 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for the big breakdown there, it’s most helpful.

    Something seems to be giving every single menu item the class of:

    current-menu-item

    WordPress issues that class to a menu item only when you’re on the page of the item. So, only one menu item should have that class at any one time.

    No idea what’s causing this. Let’s try run a plugin conflict test.

  32. 9 years, 22 days ago mail box

    I disabled all plugins but no luck.

    The fact that each menu item is given the ‘current’ item class is probably true because they are anchor links to different anchors on the same page.

    But it did work before………..

  33. 9 years, 22 days ago Andrew Misplon
    Hi, I Work Here

    Thanks. Ahh, shouldn’t be the case…

    Can I take a look?

  34. 9 years, 22 days ago Andrew Misplon
    Hi, I Work Here

    Sorry, see we’ve done that. Sec. Checking now.

  35. 9 years, 22 days ago Andrew Misplon
    Hi, I Work Here

    You were right. All linking to the same page. My bad. Fixed in Custom CSS. I added:

    .main-navigation ul li:hover > a, #search-icon #search-icon-icon:hover { background-color: #912929 }
    

    !important to override.

  36. 9 years, 22 days ago Andrew Misplon
    Hi, I Work Here

    Line I added:

    .main-navigation ul li:hover > a, #search-icon #search-icon-icon:hover { background-color: #912929 !important; }
    
  37. 9 years, 22 days ago mail box

    Great, i notice that after clicking a menu item there remain a few white dotted lines (part of a box) around the menu item.
    Can i get rid of those? I tried it with: .main-navigation ul li { border: none !important } but that didn’t work.

  38. 9 years, 22 days ago Andrew Misplon
    Hi, I Work Here

    That’s a browser default, there for usability. You can try:

    .main-navigation ul li a { outline: none; }
    
  39. 9 years, 21 days ago mail box

    Almost done:

    – i managed to make a row expand automatically so it covers the whole screen (no matter what size the screen is), now i wonder if it is possible to automatically position the widget in this row in the center of the screen?

    – when you browse to this section (http://kapper.sierink-wp.nl/#tarieven) you see that it is not in the width it should be i think. I set it to full width but it is not at full width. When i switch to full width stretched it does work as expected

    – i inserted a tablepress (plugin) table, it should have no borders, but there are still these thin lines between each row. Is this the Vantage theme default for a table or does my browser add them?

  40. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    Glad to hear you’re making progress:

    1. You might try our Hero widget here. This is a tough question considering what Page Builder can do. Even if we help position the widget for desktop we’d need to re-position for tablet and mobile. It quickly turns into a custom development task. So my ideas right now are to try the Hero widget, see if that works for you.

    2. Settings > Page Builder > Layout > Row Gutter. That’s set to 40px. The spacing you see is using this setting.

    3. That’s Vantage table styling. At the following to Custom CSS:

    /* Tables */.entry-content table {  border-bottom: none;}
  41. 9 years, 21 days ago mail box

    thanks

    1. I’ll try it. With

    height: calc(100vh - 90px);

    i can calculate the screen height on every device. I thought maybe this makes it easy to center the content.

    2. i did not mean the spacing between the columns but the spacing to the left and right of the widget

    3. sorry, that does not do anything

  42. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    2. We’re discussing the same figure. Try adjusting the setting I mentioned for testing purposes, it should change.

    3. Send a link to the page, please. Thanks :)

  43. 9 years, 21 days ago mail box

    2. I set it to zero but made no difference. I think the ‘Tarieven’ and tables below it should be about 2/3 of an inch to the left.

    3. http://kapper.sierink-wp.nl/

  44. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    1. Edit the row in question by clicking the wrench icon, then Layout tab. What is Gutter set to?

    2. TablePress is adding the style in question:

    .tablepress tbody td, .tablepress tfoot th {
        border-top: none;
    }
    

    The about should resolve.

  45. 9 years, 21 days ago mail box

    1. it is not specified, so should take the default value. The problem might be that the row is inside a parallax scroll item.
    It is not a big deal, i just wandered why it did that. I hope the pagebuilder parallax function will be released soon. This Parallax Scroll plugin has a bit of issues it seems.

    2. thanks, there is 1 line left on the bottom?

  46. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    I can’t see your Custom CSS in place for the tables. Is it there? Are you running a caching plugin that might be showing me a cached result?

  47. 9 years, 21 days ago mail box

    the last line is solved as well, thanks

  48. 9 years, 21 days ago Private Message - WordPress

    This is a private message.

  49. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    Cool :)

  50. 9 years, 21 days ago Private Message - Andrew Misplon Hi, I Work Here

    This is a private message.

  51. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    Jeez, ya, we’re in deep now. Overlapping challenges with row layouts, Parallax plugin etc. We’ll have our built in one working as soon as possible.

  52. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    You can see at the bottom of Custom CSS what I’ve tried to do. We’re hacking hard now. I can’t get the h2 to align without further custom work. You could look at where things are now and perhaps move the H2 into the first cell. We’ve, unfortunately just run into a limitation of what the plugin combined with our support offering can provide at the moment.

  53. 9 years, 21 days ago mail box

    That’s ok
    I’m quite happy as it is. Thanks again for the support.

  54. 9 years, 21 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for your understanding. We’re aware of these shortcomings and working hard to bridge them.

    Cheers :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More