Digital experiences for all disciplines
Forum Replies Created
-
-
Ok ! new options learnt, tx !
I’ve checked and managed to get the full width but there’s something with Dante because I have a huge margin left.
I understand you didn’t developp the plugin but as I use Revolution slider Element in the swift builder, it should be right, no? (you have my URL in the private post)
Thanks in advance !OK thanks !
Perfect thanks !
Can u tell me what u did (if I have the same issue with another site)This reply has been marked as private.This reply has been marked as private.Did it with the following code
<?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; } ?>
at the beginning of functions.php and it breaks the site with this message :
Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d507560346/htdocs/les-citoyennes/wp-content/themes/dante/functions.php:13) in /homepages/14/d507560346/htdocs/les-citoyennes/wp-includes/pluggable.php on line 1178When 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
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?
Hello,
Thanks for your answer.
1- Yes it’s a pb with Shipping parameters, I’m waiting for an answer on Woocommerce forum cause I don’t understand what’s going on. But I still have an issue with your theme. I’ve set up “Display shipping fees” when the address is entered and on the Check out page, the label “Livraison” is displayed and also the method title for fix rate and it’s note nice, it gives : Livraison Title: 7.5 € so I’ve replaced temporary Title by : but it gives :: Cf print screen attached. I just wanted Livraison 7.5 €, nothing else. And can we align all the figures with the word TOTAL top of the image?
2- fixed
3- OK
4- fixed with your header options I didn’t understand previously
5- yep I’checked that.So only small design issue with point 1 is remaining 🙂
Thanks for your help on this
Nice dayAttachments:
You must be logged in to view attached files.Ah cool, I didn’t see this possibility in your theme. Tx
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…
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 36Ok and OK.
And for the space between “couleur” and “:” ? it’s mandatory in french grammar… 🙁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” )
-