Okay
  Public Ticket #1224401
Main banner on product category
Closed

Comments

  • Liontech started the conversation

    Hi there!

    I need to set a main banner on each product category page and other pages. How do I get that done?

    I need this to work on both, WooCommerce categories pages and wp pages for none shop pages.

    For WP pages i tried adding a feature image in page option but it didn't work.

    I attached an image on what I'm looking for, I hope i made myself clear.

    Kind regards,

  •  1,559
    Laborator replied

    Hi Liontech,

    Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   Liontech replied privately
  •  1,559
    Laborator replied

    Hi there,

    You have created a user which has no privileges, in order to look into your issue I will need to have super-admin privileges and add plugins, edit files and more. 

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Liontech replied

    Done, admin privilege granted.

  •  1,559
    Laborator replied

    Hi there,

    I have added some custom code in your functions.php file and in the Custom CSS to show the image, anyway the title is showing before the image.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Liontech replied

    Thanks Art!

    Is there any way to make it visible before the title?

    Kind regards

  • Liontech replied

    Hey Art.

    I tried to add an image on wp page like contact page, and is not showing the feature image. Its look like is only working with woo pages.

    Kind regards,

  •  1,559
    Laborator replied

    Hi again,

    The code I have added works only for WooCommerce categories, if you want to use banners on other pages then you have to use Visual Composer or LayerSlider to show the banners.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Liontech replied

    Hey Art,

    I tried adding another featured image to another woo categories and didn't work. Where exaclty do i have to upload the image?

    I do need the featured image to load BEFORE the title, not after. Otherwise will make no sense.

    Kind regards.

  •  1,559
    Laborator replied

    Hi there,

    You have already added a category image so to add another one you can use the same procedure, see this video I found on YouTube:


    The code I gave you is for showing the image and by default it shows after the title (as written in my previous reply), there is no other known way to show it before.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Liontech replied

    Hello Art.

    I guess im going to have to find out how to fix the position of the banner on my own.

    On the other hand, your custom css broke product detail template. The images are full width as well.

    I'll try to fix this by my own, I wil let you know if i did it or not so you help me fix that.

    Kind regards.

  • Liontech replied

    Hey Art.

    After a looong research and workout, finally got it to work the way i wanted. Feel free to close this ticket.

    Kind regads

  •  1,559
    Laborator replied

    Hi Liontech,

    Glad to hear that you managed to find out a fix for your issue, I am setting this ticket as solved and close it.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group