Home Forums Space themes support forum problem with translations and site sections

problem with translations and site sections

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #537381

    clienti
    Participant

    hi!
    I have some questions for my site

    1) In this section the descriptions have disappeared. They are there because if I work with Elementor I see them in the box but not on the page (screen 1)

    2)How can I translate these voices? I installed loco translate but I can’t find them anywhere to translate them (screen 2)

    3)The “hot” item appeared above on a product. How can I remove it?

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #537916

    clienti
    Participant

    hi! Can someone help me?

    #538119

    Luke Nielsen
    Keymaster

    Hello,

    Sorry for the delay.

    1. The description is not shown due to your custom CSS here: https://take.ms/XMBkT

    2. Please check our article on how to use Loco: https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/

    In Loco Translate -> Themes -> Hitek you need to synchronize all strings and search for keywords, then you will be able to translate those words.

    3. It’s possible via Theme Settings -> Shop -> Product labels https://prnt.sc/tSKjL31Ek1wr

    Kind Regards

    #538137

    clienti
    Participant

    thank you!
    I had inserted that string in the custom css to hide this sentence. How can I hide it without compromising the previous text?

    Attachments:
    You must be logged in to view attached files.
    #538241

    feel7hes7eel
    Participant
    #538317

    clienti
    Participant

    hi! I wanted to let you know that I solved it myself!

    I just have one more question. Is it possible to reverse these two tabs?
    The first is a tab of those that are created via generic ones by theme settings
    The second is the one that is created in the tab produced as an additional tab

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #538494

    Luke Nielsen
    Keymaster

    Hello,

    Try to use the below code for help, paste it into the functions.php file in your child theme.

    if ( ! function_exists( 'custom_tab_position' ) ) {
       /**
        * Custom tab position.
        *
        * @param array $tabs Tabs array.
        * @return array
        */
       function custom_tab_position( $tabs ) {
          $custom_additional_tab_title = get_post_meta( get_the_ID(), '_xts_single_product_custom_additional_tab_title', true );
          if ( $custom_additional_tab_title ) {
             $tabs['xts_custom_additional_tab']['priority'] = 25;
          }
          return $tabs;
       }
    
       add_filter( 'woocommerce_product_tabs', 'custom_tab_position', 20 );
    }

    The above code changes the position of the custom tab from the settings of the product: https://take.ms/uwFym

    Depending on the number of tabs, change the priority ($tabs[‘xts_custom_additional_tab’][‘priority’] = 25;)

    Kind Regards

    #539406

    clienti
    Participant

    Thank you! I confirm that it works!

    I noticed that the product sheet cards on mobile are displayed in this mode. Is there the possibility of changing the aesthetics of your furniture so that it doesn’t have to slide horizontally?

    Maybe placing them one under the other instead of next to each other

    Attachments:
    You must be logged in to view attached files.
    #539541

    Luke Nielsen
    Keymaster

    Hello,

    Add the below code into the “Mobile CSS” area in Theme Settings -> Custom CSS.

    .single-product .xts-nav-wrapper.xts-mb-action-swipe .xts-nav {
        flex-direction: column;
    }
    
    .single-product .xts-nav-wrapper.xts-mb-action-swipe {
        overflow-y: visible;
    }

    It will help you disable slide.

    Kind Regards

    #540041

    clienti
    Participant

    hi!
    I confirm that the code works but this change also applies to desktop. How can I apply it only on mobile?

    #540049

    Luke Nielsen
    Keymaster

    Hello,

    You have defined the code in the wrong area. https://take.ms/L9myP , https://take.ms/9oUGK

    Please recheck the above message.

    Kind Regards

Viewing 11 posts - 1 through 11 (of 11 total)