Forum Replies Created

Viewing 15 posts - 1 through 15 (of 20 total)
  • Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    It looks awesome, thank you so much.

    Best,

    Baron

    Baronkelvin
    Member
    Post count: 26
    This reply has been marked as private.
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    Please see the attached picture, the content is not on the same line as the subject.

    Best,

    Eric

    Attachments:
    You must be logged in to view attached files.
    in reply to: PHP or Shortcode in the header #306660
    Baronkelvin
    Member
    Post count: 26

    Hi Kyle,

    I have tried to put the code below to sf-header.php header 2
    $header_output .= '<div class="header-right span8"><div class="valutaskifter">'.do_action('wcpbc_manual_country_selector').'</div>'.sf_aux_links('header-menu').'</div>'. "\n";`
    and add CSS

    .header-right {
      position: relative;
    }
    .valutaskifter {
      margin-top: 6px;
      position: absolute;
      right: 70px;
      text-align: right;
    }

    But the country selector drop down is not at the right place, please see the attached.
    Could you help me to put it before the aux links (My account)? Thanks in advance.

    Best,

    Eric

    Attachments:
    You must be logged in to view attached files.
    in reply to: Relocate the Product tabs. #300371
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    You are awesome, it is working, thank you so much.

    Best,

    Baron

    in reply to: Relocate the Product tabs. #300361
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    Sorry to bother you again, is it possible to remove the extra space above the product tabs?
    Please see the attached pictures for reference.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Relocate the Product tabs. #300349
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    Thank you so much, the css works!

    Best,

    Baron

    in reply to: Relocate the Product tabs. #300343
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    I changed the remove line priority from 35 to 10 and to 1, it was not working.
    I have tried the code below from Woocommerce Docs, which is the only one that can actually remove the tabs, but it will remove the duplicate one at the same time.

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['description'] );      	// Remove the description tab
        unset( $tabs['reviews'] ); 			// Remove the reviews tab
        unset( $tabs['additional_information'] );  	// Remove the additional information tab
    
        return $tabs;
    
    }
    in reply to: Relocate the Product tabs. #300141
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    Thank you for your feedback, I tried the code above and it is not working.
    If I change
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);
    to
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 5);
    then it will duplicate another tab in the target area, but the remove action seems not working. (please see the attached pic)

    Attachments:
    You must be logged in to view attached files.
    in reply to: Relocate the Product tabs. #299911
    Baronkelvin
    Member
    Post count: 26

    Hi,

    I have tried on Child theme, the re_ordering tabs function (the previous link you sent me) is working, and for the
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);
    after I change the importance factor from “10” to “5”, it is working too, please see the attached picture 1.
    But the following code is not working

    function dante_product_tabs_override() {
      add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);
      remove_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 35);
    }
    add_action('init', 'dante_product_tabs_override', 5);

    I can not move the product tabs below the picture and share row, please see the attached picture 2.

    Best,

    Baron

    Attachments:
    You must be logged in to view attached files.
    in reply to: Relocate the Product tabs. #299872
    Baronkelvin
    Member
    Post count: 26
    This reply has been marked as private.
    in reply to: Relocate the Product tabs. #299677
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    I tried this one (reorder tabs), it seems nothing got changed, the tabs order is still the same.
    All i am looking for is to move the product tab under the picture and share row, so it can have the width of 8 column (4|4 4)
    Please see the attached pic.

    Looking forward to your feedback.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Relocate the Product tabs. #299635
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    I have checked the doc before and the first code inside can only remove the tabs, not relocate (the add_action is not working).
    I got the code above from the previous post in this forum, please see the attached pic.
    Hope there is a solution for that.
    Thank you.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Warning: Cannot modify header information #299525
    Baronkelvin
    Member
    Post count: 26

    Problem got solved, thank you.

    in reply to: Testimonial and page title color #298873
    Baronkelvin
    Member
    Post count: 26

    Hi Rui,

    The page title css works perfectly fine.
    For the breadcrumbs one i added !important and it is working too.
    #breadcrumbs, #breadcrumbs a, #breadcrumb i {
    color: #000!important;
    font-weight: bold!important;
    }
    Thank you so much.

Viewing 15 posts - 1 through 15 (of 20 total)