Tagged: enfold, tab section
-
AuthorPosts
-
September 4, 2017 at 6:40 am #847519
Hi,
@Guenni07: Yes, I can reproduce the issue but I’m not sure why it’s not working. It does work when you set the background-attachment to scroll.
@enricobaungart: You have to set the background-attachment” to “scroll” on mobile view. Please add the following css code.
@media only screen and (max-width: 767px) { .av-layout-tab { background-attachment: scroll !important; background-position: center center !important; } }
Best regards,
IsmaelSeptember 4, 2017 at 8:26 am #847557Hello Ismael,
Thanks for your support. Right now the pictures are shown on mobile view with your CSS code.
But the break down to a new line still appears:
How can I prevent this new line?
Thanks, Enrico
September 4, 2017 at 9:16 am #847595Hi,
Thank you for the update. I can’t reproduce the issue on my end but try to decrease the padding between the tab title.
@media only screen and (max-width: 989px) { #top .av-section-tab-title { padding: 10px 13px 0px 13px; display: inline-block; text-decoration: none; } }
Please remove browser cache or hard refresh before testing the page.
Best regards,
IsmaelSeptember 4, 2017 at 10:07 am #847630Hello Ismael,
Thanks for the trial, but this CSS code doesn’t has any influence to the issue with the two rows. Is there anything else I could do?
Thanks, EnricoSeptember 7, 2017 at 3:10 am #848913Hi,
Thank you for the update.
Are you using Safari? Please try this script in the functions.php file.
// custom script function add_custom_script(){ ?> <script> (function($){ function g() { var tab = $('.av-tab-section-tab-title-container') w = tab.width() + 50; tab.css('width', w + 'px') } $(window).on('resize', function() { g() }) })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');
Remove browser cache or hard refresh before checking the page.
Best regards,
IsmaelSeptember 17, 2017 at 10:20 am #853035Hello Ismael,
Thanks for the script, which is working on my end (safari and chrome)But I still have trouble with the tab section elements on the mobile view…
The background and the tab itself doesn’t show correctly when I move it sidewards. You always see a small part of the next section:
Is there something to fix that?
Thanks, Enrico
September 20, 2017 at 4:27 am #854120Hi,
@enricobaumgart: I think it’s better if the background attachment settings is set to scroll. The “fixed” settings create a lot of issues on mobile view.Best regards,
IsmaelSeptember 20, 2017 at 6:58 am #854187Hello Ismael,
yes I think so. But even the bg image is fixed, the above mentioned issue occurs.
Regards, Enrico
September 20, 2017 at 7:58 am #854238Hi,
But even the bg image is fixed, the above mentioned issue occurs.
Did you remove the previous modifications after setting the attachment to “scroll”? Please set it to “scroll”, not “fixed”.
Best regards,
IsmaelSeptember 20, 2017 at 8:20 pm #854548Hello Ismael,
Yes, I changed back this modification:
https://kriesi.at/support/topic/individual-background-images-for-each-tab-tab-element/#post-839693And I set back all CSS modifications, so right now there is no additional code, except this one:
https://kriesi.at/support/topic/individual-background-images-for-each-tab-tab-element/page/2/#post-848913I also set the bg image to „scroll“.
It seams that the tab section is still not 100% developed. But since I’m using it now, I’d even like to get it run without styling issues.
Thanks, Enrico
September 21, 2017 at 12:51 pm #854799Hi,
This is how I see the site.
Please make sure that you’re not looking on a cached version of the site. What is the actual model of your mobile device?
Best regards,
IsmaelSeptember 22, 2017 at 8:16 am #855230Hello Ismael,
I made sure that I do not look on a cached version. I tested the tac section with different mobile devices. For example on iPhone 5 I get this issues. It seems that the site performance is getting worse by using the tab section.
But even on your screen shoot is something wrong:
I’m wondering if we can find a working solution for this feature? Even we changed the bg image settings to scroll, which we actually do not want, but there is probably no other way to get it running.
Thanks for your help, Enrico
September 23, 2017 at 3:08 am #855650Hi,
One workaround is to replace the tab section with another element on mobile view. You could use the Tabs or Accordion element instead to make the mobile view much more simple.
Best regards,
IsmaelSeptember 25, 2017 at 5:59 pm #856634Well, to be honest I was expecting a different answer. I feel that you don’t have an idea how to solve this issue with the tab section. Is there any effort to improve it in the next enfold update? I’m not sure if I’m the only one with this appearance and performance problems for the tab section?
Thanks, Enrico
September 27, 2017 at 4:20 am #857239Hi,
The problem is that we can’t reproduce the issue as you can see in the provided screenshot. Yes, the tab section element is quite new and is subject to improvement.
Best regards,
IsmaelSeptember 27, 2017 at 9:46 pm #857712Hello Ismael,
but even on your screenshot is something not correct, as I mentioned in this post:
https://kriesi.at/support/topic/individual-background-images-for-each-tab-tab-element/page/2/#post-855230
Its your screenshot, I just made some notes in it.I’m not really sure how I can continue with the tab section. Seems that I’ve to remove it completely and think about something else.
Best regards
EnricoSeptember 28, 2017 at 6:26 am #857870Hi,
but even on your screenshot is something not correct, as I mentioned in this post:
The arrow is actually centered but it looks like that in the screenshot because I’m switching between the landscape and portrait view. The arrow position will not update automatically if you’re switching between orientations in an emulation.
I’m not really sure how I can continue with the tab section. Seems that I’ve to remove it completely and think about something else.
There are no issues with the element on desktop view so you can disable it on mobile view and replace it with another element instead. You can try the Tabs or Accordion element.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.