New Landing How can we help? Themeforest Theme Support Dante Alignement product / price and color

Viewing 15 posts - 1 through 15 (of 21 total)
  • Posted in: Dante
  • #155100
    newki
    Member
    Post count: 177

    Hello,

    Could you help me with 2 alignement pb :
    – Shop page: the product name is not exactly at the same level as the price (in height). And my client would like the product name align-right near the price but I don’t manage to do it… http://www.les-citoyennes.fr/boutique/
    – Select a product and in the cart page, the colour is not aligned with the value. And in french we need a space between color and the value but I don’t manage to find where I can add this space.

    Thanks in advance !
    Nice evening

    #155192
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1- Please use this custom css code:-

    ul.products li.product .product-details {
        float: left;
        width: 80%;
        text-align: right;
    }

    2- I need screenshot image to get the issue.

    Thanks
    Mohammad

    #155207
    newki
    Member
    Post count: 177

    Thanks Mohammad!
    For point 1, it’s on the right now, I forgot to change the width ๐Ÿ™
    But as you can see on the print screen 1, even if I put the price size at 1em, it’s slighlty lower than the product price (URL : http://www.les-citoyennes.fr/boutique/)

    Hereis also the print screen 2 for point 2. I need a space between “couleur” and “:” and to align in height “couleur” and “gris”.

    Thanks for your help!
    Nice day

    Attachments:
    You must be logged in to view attached files.
    #155212
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1- Please use this custom css code:-

    .woocommerce ul.products li.product .price{
    font-size:14px !important;
    }

    2- I need specific page url with issue.

    Thanks
    Mohammad

    Thanks
    Mohammad

    #155215
    newki
    Member
    Post count: 177

    1- even in 14 px,the price is a bit under the product name, see that on http://www.les-citoyennes.fr/boutique/. Can you see it? I have it on Firefox, Chrome…

    2- on the Shop URL I just gave, click on 1 bag, then select a color and click on “Voir le panier” on the right part of the orange banner. You’ll arrive on the cart page with my pb (same pb on the check out page if you click on “Payer la Commande” )

    #155236
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1- Its font style in numbers so we cant control.

    2- Please use this custom css code:-

    .woocommerce td.product-name dl.variation dd{
    padding:1px !important;
    }
    

    Thanks
    Mohammad

    #155237
    newki
    Member
    Post count: 177

    Ok and OK.
    And for the space between “couleur” and “:” ? it’s mandatory in french grammar… ๐Ÿ™

    #155239
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste code in functions.php of child theme.

    <?php
    function sf_text_strings( $translated_text, $text, $domain ) {
    //$translated_text = strtolower($translated_text);
    switch ( $translated_text ) {
    case 'couleur:' :
    $translated_text = __( 'couleur :', 'woocommerce' );
    break;
    }
    return $translated_text;
    }

    Thanks
    Mohammad

    #155306
    newki
    Member
    Post count: 177

    OOps I’ve put I wrong place I guess, my site doesn’t work anymore, and WP also.
    I’ve paste the original code for functions.php but still
    Parse error: syntax error, unexpected ‘<‘ in /homepages/14/d507560346/htdocs/les-citoyennes/wp-content/themes/dante/functions.php on line 36

    #155307
    newki
    Member
    Post count: 177

    OK fixed via FTP. Where do I have to paste the code, I have no child theme as I just changed a few customize css…

    #155308
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have attached child theme to you.
    Thanks
    Mohammad

    Attachments:
    You must be logged in to view attached files.
    #155500
    newki
    Member
    Post count: 177

    The child theme cancell all the settings and the site is live.

    Even if it’s not clean, could you telle me where pasting the script you’ve sent in the functions.php content?

    #155501
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can insert the code at top of file.
    Thanks
    Mohammad

    #155509
    newki
    Member
    Post count: 177

    When I put this script :

    <?php
    function sf_text_strings( $translated_text, $text, $domain ) {
    //$translated_text = strtolower($translated_text);
    switch ( $translated_text ) {
    case ‘couleur:’ :
    $translated_text = __( ‘couleur :’, ‘woocommerce’ );
    break;
    }
    return $translated_text;
    }

    before :
    <?php

    /*
    *
    * Dante Functions
    * ————————————————
    * Swift Framework
    * Copyright Swift Ideas 2014 – http://www.swiftideas.net
    *
    * VARIABLE DEFINITIONS
    * PLUGIN INCLUDES
    * THEME UPDATER
    * THEME SUPPORT
    * THUMBNAIL SIZES
    * CONTENT WIDTH
    * LOAD THEME LANGUAGE
    * sf_custom_content_functions()
    * sf_include_framework()
    * sf_enqueue_styles()
    * sf_enqueue_scripts()
    * sf_load_custom_scripts()
    * sf_admin_scripts()
    * sf_layerslider_overrides()
    *
    */

    …. it breaks the site with a Parse error

    #155515
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove all code and insert the code because you missed ?> tag .

    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register