Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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-763509

    and 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,
    Lukas

    #1017605

    Hey 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,
    Basilis

    #1017613

    Hey 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,
    Lukas

    #1018988

    Hi 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,
    Nikko

    #1019283

    Hi Nikko,
    It works. Great, both issues solved.

    Thank you very much. Amazing work.

    Lukas

    #1019366

    Hi 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,
    Rikard

    #1019369

    Hey,
    Yes, you can close this case.

    Thanks again,
    Lukas

    #1019374

    Hi,

    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,
    Rikard

    #1035916

    Hi,

    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.
    #1036152

    Hi Vinay,
    The temporary login is in the private area.

    Yes, you have exactly described the issue. That’s the problem.

    Best regards,
    Lukas

    #1037705

    Hi,

    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,
    Vinay

    #1042802

    Hello 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,
    Lukas

    #1046438

    Hi,

    Have you tried contact the plugin developers?
    What did they said?

    Best regards,
    Basilis

    #1046496

    Hi,
    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,
    Lukas

    #1048472

    Hi,

    That is intended behavior. A link cant trigger a tab, to open and go there.
    it is not possible.

    Best regards,
    Basilis

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.