-
AuthorPosts
-
March 8, 2016 at 2:37 pm #594994
Hi
My homepage has a fullscreen slider, and I have two buttons that look OK on the desktop, but on mobile (for example iPhone 5S sized screen) the buttons aren’t aligned nicely.
Is there a solution that will align Button 1 and Button 2 centrally on mobile?
I did search the forums for a suction first, but couldn’t find one :-)
It would also be nice if I can adjust the padding to the left of Button 1 on desktop to align it with the caption text (for example, align the border with the start of the caption).
My site is here:
Thanks…
- This topic was modified 8 years, 9 months ago by ESB.
March 9, 2016 at 6:33 pm #595729Hi John!
Thanks for reaching out to us here on the support forum.
To align the buttons on the slider properly on mobile devices, please add the following CSS in the Quick CSS field in the theme options:
@media (max-device-width: 500px) { .avia-multi-slideshow-button.avia-slideshow-button-2 { margin-left: 0px; } }
This will remove the margin that is to the left of button 2 on mobile devices.
Cheers!
JordanMarch 13, 2016 at 9:50 pm #597436Thank you :-)
March 14, 2016 at 3:30 am #597468Hey!
You’re welcome! Glad it worked :)
Best regards,
JordanMay 7, 2016 at 7:27 am #628551Hello Jordan,
Will this issue be adressed in future updates of Enfold? It’s an issue even in your own demos! In my opinion it should be fixed and not require a workaround.
Best regards and thanks for a great theme!
Simon BergMay 10, 2016 at 8:38 am #629727Hi,
about which demo are you talking about? can you provide us a precise link please?
Best regards,
AndyMay 10, 2016 at 9:40 am #629769Hi Andy,
Thanks for a swift reply! Here are some examples of button not aligning when they are stacked vertically (for example when in portrait mode on smartphone (unless it’s a super-size phone in which case the buttons will appear side by side even in portrait mode) or minimum browser width with Firefox on PC etc).
http://kriesi.at/themes/enfold-one-page-portfolio/
http://kriesi.at/themes/enfold-shop/
http://kriesi.at/themes/enfold-photography/
http://kriesi.at/themes/enfold-restaurant-one-page/
http://kriesi.at/themes/enfold-travel/ (in this one the second button even disappears!)
http://kriesi.at/themes/enfold-church/ (and here the buttons disappear altogether!)In the private content you will find a link to what the issue looks like on our own site.
I have to admit that I am surprised that this issue has gone unnoticed since it is present on the landing page of 6 of your own demos! It looks really cheap and it’s the first thing you see when browsing from a mobile (which in our case is roughly 65% of all traffic)!
I would be really happy if this issue could be fixed quickly AND your own demos will look much nicer as well!
Best regards
Simon BergMay 11, 2016 at 12:06 pm #630623Hi,
I can’t see any issues on http://kriesi.at/themes/enfold-one-page-portfolio/ (mobile device). It looks like this for us:
Can you highlight what you mean using screenshots please?
Best regards,
AndyMay 12, 2016 at 7:54 pm #631563Hi Andy,
the issue is present in portrait mode on basically all mobile phones apart from really hi res iPhones and phablets.and on our own site…
PS/ Sorry about all the modifications to the post! I’ve never used Imgur before and had some trouble embedding the images. Let me know if the links don’t work. /DS
- This reply was modified 8 years, 7 months ago by simonberg.
May 16, 2016 at 4:40 am #632676Hi,
Thank you for the screenshots. Helps a lot! Use this css code:
@media only screen and (min-width: 768px) { .avia-multi-slideshow-button.avia-slideshow-button-2 { margin-left: 0; } }
Best regards,
IsmaelMay 17, 2016 at 9:01 am #633557Hello,
Thank you for your reply and beg your pardon for this stupid question. I’ve nerver edited css before so where do I enter the code?
Best regards
SimonMay 17, 2016 at 11:06 am #633623Hi,
enter it inside of Quick CSS field in Enfold->General Styling->Quick CSS
Best regards,
AndySeptember 23, 2016 at 12:03 am #690447Hey guys!
None of the solutions you’ve provided has worked for me yet. Any other suggestions pls? On the left, there’s still a considerable difference in alignment.
Thank you!
hacart
September 23, 2016 at 12:27 pm #690656Hi,
you can move your buttons with this code:
@media only screen and (max-width: 767px) { #top .avia-slideshow-button { left: 10px; }}
Best regards,
AndySeptember 23, 2016 at 8:03 pm #690988Hi Andy,
Not the expected result. I just need the left bottons (on mobile) to be perfectly aligned with the title as on the right side. So we’ll need to only move the fisrt bottons outwards to match with tiitle and second bottom. What you gave me moved all of the bottons to the left.
Regards,
hacart
September 23, 2016 at 9:10 pm #691015Hi,
not sure what you want to achieve. Would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)
Best regards,
AndySeptember 23, 2016 at 10:18 pm #691034Hey Andy,
Sorry about the right-left confusion ;)
The right side bottons are what I meant. I placed this code but didn’r work:
@media only screen and (min-width: 768px) {
.avia-multi-slideshow-button.avia-slideshow-button-2 {
margin-right: 0;
}
}Also, when on this page “consulta gratis” (secondary menu). First bottonis off centre.
Best regards,
hacart
September 26, 2016 at 1:37 pm #691622Hi,
for your second button use this code:
@media only screen and (min-width: 1024px) { a.avia-slideshow-button.avia-button.avia-color-theme-color.avia-multi-slideshow-button.avia-slideshow-button-2 { left: -19px; }}
and adjust media queries as well as left value as needed.
Best regards,
AndySeptember 26, 2016 at 9:39 pm #691959Hi,
At this point, when I’ve tried everything written and suggested on this forum -whithout succeeding, I think it is necessary for any of you to kindly intervene.
Thanks!
September 26, 2016 at 9:41 pm #691962September 26, 2016 at 10:58 pm #691993Hello again,
I’ve posted to this thread a number of times before. I have also tried all suggested solutions, but none of them works!
By now it should be perfectly clear that a responsive theme such as Enfold should be able to display two buttons that align when displayed on a small screen!
Furthermore, this should not require any CSS-code or other workarounds. It should be an integral part of the theme itself.
Why? Well because not one single user of the Enfold theme would want the buttons not to align. Most websites these days have buttons on their landing page. And having un-aligned buttons on your landing page gives a very poor first impression.
Of all bug fixes of the entire Enfold theme this would be the most obvious one to fix. Especially since the unaligned buttons are present in like 90% of YOUR OWN DEMOS! (As I’ve displayed previously on this particular thread.)
Please, please, please adress this issue in the next theme update.
Best regards
SimonSeptember 28, 2016 at 2:07 pm #692653Hi Simon,
it’s not a theme issue at all, as this happens to pretty much every theme out there. It works totally fine on all mobile devices as you can see here:
iPad:
http://smrtshot.com/i/LysBiPhone:
Responsive means that it looks good on mobile devices. If you want something beyond that, then you need to adjust it via custom css code.
Best regards,
AndySeptember 28, 2016 at 5:45 pm #692831Hello Andy,
You’ve just answered Simon’s request but not mines right before.
Thanks,
hacart
September 30, 2016 at 1:40 pm #693712@hacart
Try this code:@media only screen and (max-width: 767px) { a.avia-slideshow-button.avia-button.avia-color-light.avia-multi-slideshow-button.avia-slideshow-button-2 { left: -10px; }}
and adjust as needed.
Best regards,
AndySeptember 30, 2016 at 6:53 pm #693991It’s useless.
October 5, 2016 at 2:37 pm #695498Hi,
your buttons look good to me: http://i.imgur.com/afYFaJR.png
Could you fix it?
If not would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)Best regards,
AndyOctober 5, 2016 at 5:28 pm #695651Hey,
I provided screenshots on post #691034 and even access data for you to pls help me out cos’ as I’ve been insisting, I was not able to achieve the alignment of right side bottons on the mobile version.
Regards,
hacart
October 5, 2016 at 5:45 pm #695661Hey!
@hacart i added following code to quick CSS and flushed cache.@media only screen and (max-width: 480px) { #top .avia-multi-slideshow-button { width: 46%; float: left; margin-left: 1%; }}
Please review your website now
Best regards,
YigitOctober 5, 2016 at 6:58 pm #695708Hey Yigit,
I appreciate your diligence but I was just expecting them to bo aligned as they normally are meant to be, not all of them on the left cos’ now it looks far messier (the titles on the right seem not to belong to their CTAs. So I was hoping to get the first botons to be moved to match the alignment with the title and second boton, just as they as meant to be.
Even the size of bottons changed, which is not appealing at all.
Regards,
hacart
October 7, 2016 at 11:23 am #696387Hi,
you are using this code:
.avia-multi-slideshow-button.avia-slideshow-button { margin-right: 20px; }
which is causing this.
Remove this code or adjust the values until it fits to your needs. You might need to add media queries to adjust it for the screen size you wish.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.