-
AuthorPosts
-
October 2, 2018 at 5:56 am #1016872
Hello,
First issue:
I have set this CCS code into Quick CCS:
#top .logo ,
#top .logo a {
min-width: 200px !important;
min-height: 200px !important;
max-width: 200px !important;
max-height: 200px !important;
margin-left: 1%;
margin-top: 5px;
}}Logo has the correct margin and size but the top and left margin cut the frame of logo. When I delete this:
margin-left: 1%;
margin-top: 5px;
then the logo has the frame.Second issue:
I use tab section and want to have link to the specific tab at the top of the page in the image. The tabs all bellow. Unfortunately the tab section link doesn’t work.I have followed this article:
https://kriesi.at/support/topic/link-to-tab-in-tab-section/#post-763509and put this code into the Child functions:
// auto trigger
add_action(‘wp_footer’, ‘ava_custom_script’);
function ava_custom_script() {
?>
<script>
(function($){
function getQueryParams(qs) {
qs = qs.split(“+”).join(” “);
var params = {},
tokens,
re = /[?&]?([^=]+)=([^&]*)/g;while (tokens = re.exec(qs)) {
params[decodeURIComponent(tokens[1])]
= decodeURIComponent(tokens[2]);
}return params;
}var $_GET = getQueryParams(document.location.search);
$(window).load(function() {
switch($_GET[‘tabsort’]) {
case ‘1’:
$(‘a[data-av-tab-section-title=”1″]’).trigger(‘click’);
break;
case ‘2’:
$(‘a[data-av-tab-section-title=”2″]’).trigger(‘click’);
break;
case ‘3’:
$(‘a[data-av-tab-section-title=”3″]’).trigger(‘click’);
break;
case ‘4’:
$(‘a[data-av-tab-section-title=”4”]’).trigger(‘click’);
break;
}
});
})(jQuery);
</script>
<?php
}Unfortunately still doesn’t work.
Could you check whats wrong with the code, please?This link should work: https://terrazasdelatlantico.com/project/#lot-a
but doesn’t work.The page you can see here: https://terrazasdelatlantico.com/project/
Temporary login credentials are in the private field.
Thank you,
LukasOctober 3, 2018 at 9:50 pm #1017605Hey Lukas,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
BasilisOctober 3, 2018 at 10:11 pm #1017613Hey Basilis,
I’m not sure if I understand.
For both my issues I have found articles where somebody from your tech support helped. Why others can move the logo or can have the link for tabs in the tab section? I got the same issue but the exact code doesn’t help for me. Why I’m so specific that my issues cannot be solved?Best regards,
LukasOctober 8, 2018 at 2:13 pm #1018988Hi Lukas,
For the first issue, try adding this css code in Quick CSS (located in Enfold > General Styling):
#top .logo, #top .logo a { overflow: visible !important; }
For the 2nd issue, add this code at the bottom of your child theme’s function.php:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
then in your child theme create a folder and name it shortcodes, go to enfold > config-templatebuilder > avia-shortcodes and copy tab_section folder and paste it on the shortcodes folder you just created.
Then modify tab_sub_section.php line 482:$output = '<div data-av-tab-section-content="'.avia_sc_tab_section::$tab.'" class="av-layout-tab av-animation-delay-container '.$active_tab.' '.$meta['el_class'].' '.$extraClass.' '.avia_sc_tab_sub_section::$extraClass.'" '.$outer_style.' '.$data.' data-tab-section-id="'.$tab_link.'">';
replace it with:
$output = '<div data-av-tab-section-content="'.avia_sc_tab_section::$tab.'" class="av-layout-tab av-animation-delay-container '.$active_tab.' '.$meta['el_class'].' '.$extraClass.' '.avia_sc_tab_sub_section::$extraClass.'" '.$outer_style.' '.$data.' data-tab-section-id="'.$tab_link.'" id="'.$tab_link.'">';
Let us know if this helps.
Best regards,
NikkoOctober 9, 2018 at 12:15 am #1019283Hi Nikko,
It works. Great, both issues solved.Thank you very much. Amazing work.
Lukas
October 9, 2018 at 7:10 am #1019366Hi Lukas,
Great, glad you got it working and thanks for the kind words. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardOctober 9, 2018 at 7:17 am #1019369Hey,
Yes, you can close this case.Thanks again,
LukasOctober 9, 2018 at 7:27 am #1019374Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
RikardNovember 21, 2018 at 7:50 am #1035916Hi,
I have checked the issue as reported on tab section link 2
Let me rephrase the issue so we both are on the same page here
1. On the project page https://terrazasdelatlantico.com/project
2. When a user clicks on the “see details” button for the Lot-A section (as shown in the below screenshot) the page does not scroll to https://terrazasdelatlantico.com/project/#lot-a correct?
I need to take a closer look at the backend, please post the admin credentials in private content area.
Best regards,
Vinay- This reply was modified 6 years ago by Vinay.
November 21, 2018 at 4:26 pm #1036152Hi Vinay,
The temporary login is in the private area.Yes, you have exactly described the issue. That’s the problem.
Best regards,
LukasNovember 26, 2018 at 6:43 pm #1037705Hi,
Thank you for sharing the credentials.
1. I checked your site and noticed you have the same class name added to both the tab and tab content area. Maybe it is causing an issue with the script.
2. Is the [mainfinal] a custom shortcode or is it from a plugin?
Would you be ok to try an alternate solution? It works exactly the same way but using a color section instead of the tabs.
Instead of using a tab you can add the tab content inside of a color section and display the section on which users click.
Best regards,
VinayDecember 9, 2018 at 8:09 pm #1042802Hello Vinay,
Have tried the alternate solution but it doesn’t work for me. Maybe I do something wrong.
Yes, the [mainfinal] shortcode is from Plugin. You can see it if you open Image Map Pro project.Best regards,
LukasDecember 17, 2018 at 7:10 pm #1046438Hi,
Have you tried contact the plugin developers?
What did they said?Best regards,
BasilisDecember 17, 2018 at 8:04 pm #1046496Hi,
Why I should to contact a plugin developer?
All plugins work very well. I need only solution for your theme where links don’t work to the tab section.Best regards,
LukasDecember 22, 2018 at 1:48 am #1048472Hi,
That is intended behavior. A link cant trigger a tab, to open and go there.
it is not possible.Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.