Forum Replies Created

Viewing 30 posts - 1 through 30 (of 194 total)
  • Author
    Posts
  • Hi Mike
    Bingo! Your code was the solution.

    Thank you for your very fast answer!

    Best regards,
    Bruno

    • This reply was modified 2 months, 2 weeks ago by  bruwa.

    Hi Mike
    your code did the trick.
    Thanks a lot!

    Best regards,
    Bruno

    PROBLEM SOLVED

    I came across (Purchase code hidden if logged out) -slide-show/#post-1024295″>https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -slide-show/#post-1024295
    Quote (Rikard):

    try to deactivate file compression and delete the old CSS and JS files under Enfold->Performance

    This did the trick.

    Sorry
    Bruno

    in reply to: Contact 7 form issues #1048865

    Hi Ismael
    thanks!
    I’m afraid I was not aware of your suggestion when I sent the message below (I did not expect it today, so I didn’t refresh the page).
    Now I notice that it has not been sent, instead an error message was displayed – unfortunately I was no longer on this page when it appeared.
    Sorry

    PROBLEM SOLVED
    ***************************************************

    after endless trial and error I eventually managed to find the solution.
    Whenever I added “color: #000” the whole code did no longer work.
    Putting color in a separate code AND putting it before the rest did the trick.

    .wpcf7-form .wpcf7-select, 
    .wpcf7-form .wpcf7-text {
    	color: black !important;
    }
    .wpcf7-form .wpcf7-select, 
    .wpcf7-form .wpcf7-text,
    .wpcf7-form .wpcf7-email,
    .wpcf7-form .wpcf7-textarea {
    	background-color: #f0f0f0 !important
    }

    Best regards,
    Bruno

    • This reply was modified 8 months ago by  bruwa.
    in reply to: Contact 7 form issues #1047457

    Hi Victoria
    please find the URL in the private content.
    I would like to change the background of all (but only) contact-7-form input fields to white and the font color accordingly to black (white on white background would be difficult to read ;-) …)

    I found this code on the plugin website:

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 textarea
    {
        background-color: #fff;
        color: #000;
        width: 50%;
    }

    Unfortunately it did not change anything.

    Cheers
    Bruno

    • This reply was modified 8 months ago by  bruwa.
    in reply to: Contact 7 form issues #1046964

    Hi
    I want the background color of the input fields of contact-7-form to change from black to white and the font color of these fields to change from white to black..
    I tried Guenni007s suggestion and put the following code in the Quick CSS

    .wpcf7-form .wpcf7-select, 
    .wpcf7-form .wpcf7-text {
    	background-color: #fff !important
    }

    It successfully changed the background of the input fields name, email and subject.
    – it did NOT change the field “your message”
    – I need also to change the font color of the input fields to black
    Any suggestion?

    In the Flashlight theme the following worked

    .text_input, textarea, select, #commentform input{
    border:1px solid #343434;
    background: #fbfbfb;

    It doesn’t work in Enfold.

    Thanks
    Bruno

    • This reply was modified 8 months, 1 week ago by  bruwa.
    in reply to: How to hide the WC tab "Additional Information"? #1039727

    PROBLEM SOLVED

    /*————————*/
    /* Prodoct detail page: hide title “Description” */
    /*————————*/

    .woocommerce-tabs #tab-description h2 {
        display: none !important;
    }

    /*————————*/
    /* Product detail page: hide tab “Additional Information” */
    /*————————*/

    .additional_information_tab {
       display: none !important;
    }

    I missed the “deactivate jQuery-migrate” and the “Delete old CSS and JS files” options.
    I saved 40KB by using a jpg logo file (I think when I started with the Flashlight theme 5 years ago, I had to use a png file – but I could be wrong).
    The PHP-Memory limit has been 265M for years.

    I also administrate my wife’s homepage (ANNA) where I see the same loading issue (and a Google search confirms that I’m not the only one; not necessarily with Enfold, but the key message is “not all sliders are created equal”). There, instead of using a plugin, I recreated the slider images and downsized them to 100KB. I don’t see any change in loading time though.

    My private replies predominantly said THANK YOU SO MUCH for your help. You made my day(s).
    You spontaneously answered all my (private) questions without even having read them – spooky ;-)

    Best regards,
    Bruno

    • This reply was modified 1 year ago by  bruwa.

    Hi
    I copied the suggested codes to my .htaccess file just after the title “# BEGIN WordPress” (when I put them before this title, I was unable to login to my site).
    Visually I could not see any change.

    I performed the gtmetrix test.
    – the Performance Score significantly increased from D to B.
    – to my big surprise, the Page Fully Loaded Time increased from 3.3s to 5s

    – I wonder what conclusion I should draw: better performance resulting in increased loading time by 50%?
    – The test recommends optimizing 19 images (those in the slider), resulting in a total reduction of 100KB (5.4KB per image). I doubt that this is of any significance.

    I would appreciate to hear your take on that.

    BTW: Changing the .htaccess permissions from 644 to 640 (as suggested by Guenni007) was apparently not a good idea: I was then unable to login to my site.

    Regards,
    Bruno

    PS
    I replied to some of Guenni007’s comments. When I thought they were not of general interest but rather private (and some in German), I set them as private reply. I assumed that private meant that only he would see these replies. Apparently the inverse was the case. No harm done, but apparently my misunderstanding of “private reply”.

    • This reply was modified 1 year ago by  bruwa.
    This reply has been marked as private.

    Hi

    I very much appreciate the input of Guenno007
    He suggested that I add

    .home .avia-slideshow img {
        max-height: calc(100vh - 170px);
    }

    to the Quick CSS / style.css.
    He also set up a demo page for me [kudos] to show the result.

    His CSS code works, provided I use again the larger images (1600x1067px) I deliberately had resized to 1200x800px for the slider only.

    Unfortunately it still takes much too long for the first image of the slider to load.

    Regards,
    Bruno

    This reply has been marked as private.
    This reply has been marked as private.

    Hi Ismael and Guenno007
    thanks for your comments.

    – I unchecked the option “stretch image”
    – I reduced the size of the original images to 1200 x 800 px (Adobe Lightroom)
    Now the images fit on the smaller monitor (I don’t mind the black area on both sides).
    Unfortunately the relative image size is not adapted accordingly when seen on the larger monitor.
    The images only use 2/3 of the available height on the larger monitor (2560 x 1600 )

    I expected the theme to be responsive to monitor size. Or is there a way to make the slider images’ height fit on variable monitor sizes?

    Best regards,
    Bruno

    • This reply was modified 1 year ago by  bruwa.

    Hi Guenni007
    thanks.
    I have just noticed that there still was one portrait image I missed. I removed it from the slider.
    You may have missed my latest update: unchecking the option “stretch image” seems to have improved loading time
    Please have a look https://www.fotowalther.ch

    Regards
    Bruno

    • This reply was modified 1 year ago by  bruwa.
    in reply to: How to replace an icon and the related text? #990095

    Hi Mike

    I’m happy to report that your suggestions both perfectly work!
    Problem solved. Thank you!

    Best regards,
    Bruno

    • This reply was modified 1 year ago by  bruwa.
    in reply to: How to replace an icon and the related text? #989414

    Hi Basilis

    the text “Select options” can be customized by adding the following to the theme’s functions.php (unfortunately it doesn’t work in the enfold-child functions.php)

    add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
    	global $product;
    	if ( $product->is_type( 'variable' ) ) {
    		$text = $product->is_purchasable() ? __( 'Custom options text', 'woocommerce' ) : __( 'Read more', 'woocommerce' );
    	}
    	return $text;
    }, 10 );

    https://wpexplorer-themes.com/total/snippets/woocommerce-select-options-text/

    Or:

    add_filter('catalog_visibility_alternate_add_to_cart_button', 'my_alternate_button', 10, 1);
    
    function my_alternate_button($content) {
      return 'My Alternate Content';
    }

    https://docs.woocommerce.com/document/catalog-visibility-options/

    I have yet to find a way to remove (or change) the cart icon.
    Would maybe Dude have an idea?

    Regards,
    Bruno

    • This reply was modified 1 year ago by  bruwa.
    This reply has been marked as private.
    in reply to: Media library shows empty boxes, no images #988512

    Hi Mike

    thanks for your inputs.
    Yes, my first attempt was with phpMyAdmin.

    1) I tried the All-in-one plugin. However, I would need to upgrade to the Pro version (which costs a multiple of the theme itself), because the free version can only handle a very little volume of data.
    2) I manually uploaded the images (the media library now looks weird – so what)
    3) I tried the WP export option. No success.

    I’m surprised (and disappointed) to see that WP does not provide a solution that lives up to its promise.
    It took me quite some time (trial and error as well as research) only to be back at square one.

    Thanks anyway for your and Victoria’s efforts.

    Best regards,
    Bruno
    .

    in reply to: Sending order without accepting terms&conditions #988502

    Peter

    You made my day. Thank you so much!
    To be honest: I never expected to get an answer over the weekend. Great Job.

    Best regards,
    Bruno

    in reply to: Sending order without accepting terms&conditions #988413

    Hi Dude

    I don’t remember where I originally got the code from.
    The reason why I used it is, that the T&C phrase is not translated to German (see screenshot in the private field).
    – The plugin WoocCmmerce German is installed and activated – but apparently missing this translation
    – the page “terms and conditions (AGB) exists and is set

    From an extensive Google search I learned that you can edit the T&C text in the customizer.
    However: two questions remain:
    – the customized text does not have the link the my T&C page (set as “AGB”) – if I add [terms] as shown in the customizer, the English version “terms_and_conditions” shows up.
    – at the end of the customized text an asterisk shows up that seems not to serve any purpose and that I’m unable to remove

    The relevant code for the TCC text can be found in woocommerce/includes/wc-template-functions.php (lines 738-741):

    function wc_get_terms_and_conditions_checkbox_text() {
    	/* translators: %s terms and conditions page name and link */
    	return trim( apply_filters( 'woocommerce_get_terms_and_conditions_checkbox_text', get_option( 'woocommerce_checkout_terms_and_conditions_checkbox_text', sprintf( __( 'I have read and agree to the website %s', 'woocommerce' ), '[terms]' ) ) ) );
    }

    Can you help me on how to add the missing link to my T&C page (AGB)?
    My custom T&C line reads ” Ich habe die Allgemeinen Geschäftsbedingungen gelesen und akzeptiere sie”
    A link should bring you to the page AGB set as my “T&C” page. .

    Can you suggest a way to solve the problem in the Enfold Child theme (functions.php?) instead of modifying the original file?

    Best regards,
    Bruno

    Sources:
    (Purchase code hidden if logged out) -text/”>https://themeskills.com/ (Purchase code hidden if logged out) -text/
    https://woocommerce.wp-a2z.org/oik_api/wc_terms_and_conditions_checkbox_text/

    PS
    My initial statement saying my code worked on a Flashlight site was wrong – I have just double-checked: it shows the same problem)

    • This reply was modified 1 year, 1 month ago by  bruwa.

    Herzlichen Dank Peter.
    Problem solved!

    Best regards,
    Bruno

    in reply to: How to remove the line under the main menu items #988321

    Hi Mike

    thanks for the quick answer.
    Your code was the solution.
    Thank you!

    Best regards,
    Bruno

    Hi Mike

    sorry, I was not aware that I forgot to add the login credentials (I usually do). Please see the private field.
    Meanwhile I added the code in the WP customizer, published it, refreshed the page and flushed the browser cache.
    Please see the result in the screenshots (private field): now the BACS details have gone, but “Our details” (title + address) remain.

    Regards,
    Bruno

    • This reply was modified 1 year, 1 month ago by  bruwa.
    in reply to: Thumbnail image size #987915

    ooooppppssss

    Though I had refreshed the page several times (!) and also cleared the browser cache it did not work the way I expected.
    Now it seems some magic happened. I changed the color scheme and when I checked the effect, the problem outlined above had disappeared …

    Sorry for bothering – please delete this post

    in reply to: Media library shows empty boxes, no images #987501

    Hi Victoria

    thanks for the links.
    However: been there and done the suggested procedures before. Didn’t help.
    I also tried a plugin. Did not help either.

    Meanwhile I manually imported all product images.
    Strange:
    – the product list shows the file name of the image, but not the image itself
    – if I click on one of the empty boxes in the media library,it shows the url of the image in the uploads folder, but not the image
    – on the “edit product” page, no product image is shown, but the link beneath the empty field lets you remove the invisible image
    – when I do this and upload this image again from the computer to the media library, the image is added in the top left position of the media library – AND the empty image container suddenly shows the image as well – so now 2 instances of the same image are shown in the media library
    – if I remove the “old” instance, both instances disappear (the newly uploaded as well as the old, previously invisible instance).

    So, the software knows the exact name and address of every single image (the uploads folder), but only shows it as an empty space.
    And when I upload the same image again, the software suddenly remembers the content and shows this image twice..

    Am I the only user to experience this?

    Regards,
    Bruno

    in reply to: Advanced Layout Builder not working #986815

    Hi Rikard

    This plugin has always been there. Never used it.
    Thanks a lot! Problem solved.

    Best regards,
    Bruno.

    Hi
    I added

    #top .thumbnail_container img {
        min-width: 200px;
        margin-right: auto;
        margin-left: auto;
    }
    

    to the custom.css – and BINGO – problem solved.
    You can close this ticket.

    Thank you
    Bruno

    • This reply was modified 1 year, 1 month ago by  bruwa.

    Hi
    please have a look at the screenshots (private field).

    Please note the different size of the verticals.

    Both verticals are technically of the same size (200 x 300px) – why don’t they display with the same size?
    The horizontals do.

    Thank you
    Bruno

    in reply to: Thumbnail size problem after WC update (2.6.8 to 3.4.3) #984172

    Hi Ismael
    yes, I know that the physical dimensions of the images are correct, but they are not displayed with this size.
    What matters is what the user sees on the screen
    Please compare the the two websites:(private field)

    – On the first website the verticals are displayed as height_vertical = width_horizontal, which is correct.
    – On the second website the verticals are displayed as height_vertical = height_horizontal, which is NOT correct

    The container seems to be too small in height to accommodate verticals of 300px height.
    Something must be wrong if an image of 300px height is displayed as 200px of height.

    The verticals are displayed too small in height, despite their correct physical size!!

    Thank you
    Bruno

    • This reply was modified 1 year, 1 month ago by  bruwa.
Viewing 30 posts - 1 through 30 (of 194 total)