Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #291022

    Hallo,

    ich habe ein Problem mit einem Kategorievorschaubild. Wenn ich ein Kategoriebild mit 600×600 pixel verwende zeigt mir die Kategorieseite das Kategoriebild im Format 600×270 pixel an (siehe private link). Wo und in welcher Datei kann ich diese Einstellung verändern? Z-B. auf 450 x450?

    Gruss, Jens

    #291504

    Hi Jens!

    Danke, dass Sie unser Theme verwenden.

    Die Einstellung dafür findet Ihr in functions.php Zeile 101+102:

    
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270);		  // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 );	  // images for fullsize pages and fullsize slider
    
    

    ‘entry_with_sidebar’ wird verwendet. Eine Änderung wirkt sich aber auf die gesamte Seite aus.

    Falls das nicht gewünscht wird, müsste man eigene Formate definieren und dann in

    enfold/config-woocommerce/config.php Änderungen durchführen:

    
    //Zeile 704ff
    $image_size = "entry_with_sidebar";  // durch neuen Namen ersetzen
    if($layout == 'fullsize') $image_size = 'entry_without_sidebar';    // durch neuen Namen ersetzen
    

    LG
    Günter

    • This reply was modified 10 years, 4 months ago by Günter.
    #498679

    Hallo Günter,

    Enfold is great and your support unique.

    My question:

    We use Enfold 3.3.2 and the New WooCommerce. Everything works fantastic – no problems !!!

    But unfortunately the shop with WooCommerce looks bleak and you can not use all the functions of Enfold in this area – which is annoying.

    We would the category Images with the format 950 – 450 , it works well (see Figure 1). But then representation is truncated (see Figure 2).

    he sub-category of products should remain so (see Figure 3)

    Can this be realized with a quick code, or otherwise?

    For an answer thanks.

    Greetings
    Jessica

    #498994

    Hey!

    Resize the images before uploading them as product image. If you set the Woocommerce > Settings > Products > Display > Catalog Images settings to 450x450px, try to resize the images to 950x950px or to the exact dimension specified. If there are images with different orientations, create a square canvas on photoshop or any image editor then attach the product image. Disable the “Hard crop?” option. The point is to not let WP do all the image cropping and resizing.

    Cheers!
    Ismael

    #499135

    Hi Ismael,
    Thank you for your quick response.

    That what you suggested, we have already tried everything. The main category images are displayed perfectly (1 image). But the sub-categories are not displayed in this format in the preview (2 image). On the product side (3 image) everything is also displayed correctly.

    I express myself too complicated. The image processing is not a problem and their settings.

    The presentation of the sub-category – images is the problem.

    At present 3 subcategories are displayed on each line.
    But we want to get just 1 subcategory displayed on each line (4 Image)

    Excuse me my English is not perfect. That’s why the misunderstanding.

    Greetings
    Jessica

    #499667

    Hey!

    So you’re trying to set the sub category page to have one column instead of three? Is that right? Add this in the Quick CSS field:

    .tax-product_cat .products .product-category {
        width: 100%;
        text-align: center;
    }

    Cheers!
    Ismael

    #499757

    Hello Ismael.

    Thank the CSS code has worked well

    Now I need to please CSS code for fine-tuning.

    Subcategory images should all look so subtly, as the main category image.
    (See Appendix 5 image).

    Currently, the sub-category images are quadratic and centered displays. However, it should be rectangular. (align automatically)

    Thanks for the help

    greeting
    Jessica

    #500306

    Hey!

    Wordpress is cropping images by default and you can control WordPress image sizes using a plugin like: https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Andy

    #500308

    Hi, Andy

    thanks for the reply but that’s not it.

    We need the advanced CSS code.

    Please check out the pictures. We have already tried your advice yesterday. Had written before.

    Thank you for an answer.

    Best regards
    Jessica

    #501137

    Good day.

    Today, unfortunately, no response from you !?

    We need but only the addition of the CSS code that Ismael had already sent. The worked. Only the images are quadratic and not over the entire length.

    I am not familiar with the Enfold Theme. Sorry!

    As such, it’s the same attitude as on the product page (above Kategroriebild) should still be the same programming.

    Please make a quick response. Otherwise we can not import the images.

    Thanks in advance.

    greeting
    Jessica

    #501629

    Hi!

    I checked the website in private content and can’t see any issues with your images. Looks all fine to me. So no idea if you could fix it already or if not which changes you want to achieve. Can you provide us a mockup showing the things you want to achieve please?

    Regards,
    Andy

    #501708

    Hi Andy!

    Thanks for the reply and that you have taken the time.

    Ismael has sent me the following CSS code:

    .tax-product_cat .products .product-category {
        width: 100%;
        text-align: center;
    }

    We reached that a subcategory screen per row or column is visible. Perfect!

    The text required including – centered. Perfect!

    If we now assign this subcategory an image in the format 950 x 450, then it appears squarely centered. (Whether we work on it before and / or. Scale Even if we reduce this picture, it does not bring the desired success.

    1) The main category image (Image A) has dimensions of 950 x 450. It will be displayed optimally in height and width. – Perfect!

    2) The subcategory (Image A) has the dimensions 950 x 450. It will not be displayed optimally in height and width – Special trimmed and square (even if it is processed in advance). However, it should be shown as the picture of the main category.

    3) If you now clicks on the subcategory screen (Image A), will open the product page (Image B), and there is this category picture perfect now in its dimensions appear.

    And exactly how it should be displayed as a sub-category image.

    Excuse my English is not perfect. I hope you have understood me now anyway. If you go to our website (the link I have marked as private and indicated.) Then you will see the error. (Okay, it’s three rows, because we have the CSS code removed.)

    It destined only missing a little something to this CSS code.

    Many thanks for your help.

    Greetings
    Jessica

    #502597

    Hey!

    it is difficult for me to understand which changes you want to achieve. I checked both links you have send and can’t see any issues. Could you fix it? you send so many pictures … and did you actually send us a mockup showing the things you want to achieve? Sorry I still don’t know what you are trying to achieve …

    Regards,
    Andy

    #502684

    Hey!

    Sorry, no idea what a mockup is.

    As such, it can be seen in pictures, what we need !?

    I’m sorry if I prepare you much work.

    Ishmael gave me this CSS – Code: (This code is perfect!)

    .tax-product_cat .products .product-category {
         width: 100%;
         text-align: center;
    }

    This code is not complete.

    Each image that we assign to a sub-category is always displayed centered and square. But the images are in width have 100%.

    I Ismael`s CSS code activated and send you now again 4 images.

    1) Main category – allocation of images perfect! (so it should be even with the sub)
    2) Subcategory – image appears square and centered (which is wrong)
    3) Subcategory – So are the images must be displayed as you can see here

    All images are processed and have a standard size! Because it is not!

    If you go to our website, you will see that the images are displayed Hauptkategroie perfect and also the subcategory screen on the product page.

    Please take a look at the pictures, then you will see what I mean. For this purpose the following links on our website. (I have a picture that you used on the website will find)

    Link main category page: Perfekt !
    Link Subcategory side (look for rot und rosa color gele): No Perfekt !
    Link product page: Peferkt !

    As such, it’s the same CSS code as for the main category image and on the product side (Subcategory picture). Since it works but wonderful presentation.

    Sorry, but I do not know my way, with CSS code of Enfold.

    Thanks for the help. Your gives you really big effort.

    greeting
    Jessica

    #503474

    Hi!

    if height is not correct then just add height value into Ismael’s code:

    .tax-product_cat .products .product-category {
         width: 100%;
         text-align: center;
    height: 100%;
    } 
    

    or maybe you need to define the exact px of height value:

    .tax-product_cat .products .product-category {
         width: 100%;
         text-align: center;
    height: 150px;
    max-height: 150px;
    } 
    

    Adjust as needed.

    Best regards,
    Andy

    #505474

    Hi Andy,

    This is the result of the CSS code.

    That with the height we had already tried.

    Why is this so complicated?

    Best regards
    Jessica

    #505670

    Hey!

    I checked the page in private content and it looks good to me now. Please clear browser cache and hard refresh a few times.

    Cheers!
    Andy

    #505958

    Hi, Andy,

    thanks for the email. The browser’s cache I more than once deleted but the result is always the same.

    I let the setting of you and then see for yourself please.

    far down scroll to the subcategory Red / pink color gels see if you then click on this category on the next page all right. We display correctly.

    The images are always centered and square. No matter what one takes there is no change. No matter what code I’m using it, nothing changes.

    When I apply 150%, everything is superimposed over

    But if we remove the line “text-align: center;”, then the images will also be placed at the beginning, just the text. But the images still remain unchanged in height and width.

    What do we do now?

    Best regards
    Jessica

    #506379

    Hey!

    quite difficult for me to understand you (english language), and not sure about which images you are talking about.
    Can you provide us admin access, so we test some code inside your Quick CSS field? make sure to use newest WordPress and theme versions. Post login details here as private reply.

    Cheers!
    Andy

    #515333

    Hi Andy,

    my mother passed away and that’s why I’ll get only today.
    You can find access data as private.

    Category Images I have almost all used. In the height do not let Unfortunately adjust.

    Best regards

    Jessica

    #515728

    Hi!

    I am sorry to hear that your mother passed away. Hope you are alright.

    Sorry, it’s still quite difficult for me to understand what you mean and what you want to achieve. Which is your mother language? German? If yes, dann erkläre hier bitte exakt was du benötigst und setze Screenshots ein, um Sachen klar und verständlich für uns aufzuzeigen.

    Gruß,
    Andy

    #516115

    Hallo Andy,

    danke für die Anteilnahme, das Leben geht weiter und die Arbeit lenkt mich ab.

    Also an sich ganz simpel. Die Kategorie Bilder sind eingespielt und Sie werden korrekt angezeigt in der Länge.
    Das Problem ist, dass sich die Höhe nicht einstellen lässt bei diesen CSS Code (keine Reaktion):

    .tax-product_cat .products .product-category {
    width: 100%;
    text-align: center;
    height: 100%;
    }

    und bei diesen CSS Code ist alles zusammengezogen:

    .tax-product_cat .products .product-category {
    width: 100%;
    text-align: center;
    height: 150px;
    max-height: 150px;
    }

    Ich möchte nur erreichen, das das Kategorie Bild genauso dargestellt wird, in den Maßen wir auf der Produktseite. Also wenn man eine Kategorie anklickt, dann öffnet sich die Produktseite und das Kategorie Bild wird korrekt angezeigt. Mehr ist es an sich nicht.

    Problem, der CSS Code reagiert nicht. (auf heigt: 80px oder so…)

    Ist wahrscheinlich für Euch nur eine Kleinigkeit. Danke im voraus für die tolle Unterstützung.

    Grüße
    Jessica

    #516313

    Hey!

    schön, dass es mit Deutsch jetzt besser klappt. Ich hatte dich bereits gebeten Screenshots mit hinzu zufügen, damit klar wird von welchen Bildern du redest. Eine Prozentangabe beim height Wert funktioniert nicht, sondern ausschließlich px. Du kannst höchstens versuchen “auto” in den height Wert einzusetzen, dann sollte der height Wert automatisch “korrekt” angezeigt werden.
    Ich würde dir jedoch folgendes Plugin empfehlen, damit du die Bildgröße selbst bestimmen kannst, denn WordPress verändert die Bildgröße beim Upload von Bildern automatisch: https://de.wordpress.org/plugins/simple-image-sizes/

    Gruß,
    Andy

    #577123

    Hallo Andy,.

    Yigit hat den nachfolgenden CSS Code veröffentlich für die Sidebar (Widget individuelles Menu).

    .widget_nav_menu li {
    border-bottom: 1px solid #e2e2e2;
    }
    .widget_nav_menu a:hover {
    background: black;
    color: white;
    }

    Könnten sie bitte den CSS Code für die Woocommerce Produktkategorien (Sidebar) ebenfalls so erstellen. Aber die Hierarchie anzeigen und nur die Unterkategorien der aktuellen Kategorie anzeigen soll bleiben.

    Für Ihre Hilfe vielen Dank.

    Grüße
    Jessica

    #578292

    Hi!

    I’m sorry to interrupt the discussion but your new inquiry is quite far from the original topic. We kindly ask your to open a new thread to keep the thread relevant to the original subject. Thank you for your understanding. We’ll close this thread for now.

    Best regards,
    Ismael

Viewing 25 posts - 1 through 25 (of 25 total)
  • The topic ‘Standard Kategorieanzeige zeigt falsches Bildformat / Woocommerce Kategorieseite’ is closed to new replies.