Forum Replies Created

Viewing 30 posts - 91 through 120 (of 375 total)
  • Author
    Posts
  • in reply to: Secondary menu only one line on tablets #1229764

    Hi guys,
    Any help on this?
    Thank you very much! ;-)

    in reply to: Product grid limit number of products – Part 2 #1229763

    You’re a genius, Mike!
    Everything works perfectly now and the topic can definitely be closed.
    Thank you so so much for your work on this!!
    Best regards :-)

    in reply to: Centered submenus #1229762

    Hi Mike,
    Thanks a lot for your work!
    From what you tell me here, it seems to be difficult to code this properly and the result will not be perfect.
    So I think I gonna give up this idea and keep a more classic menu.
    Anyway, Yigit, Mike, thank you so much for your work guys!!
    Best regards ;-)

    in reply to: Product grid limit number of products – Part 2 #1229719

    No, I’m speaking about this: see screenshot in private content (in the red circle).

    in reply to: Product grid limit number of products – Part 2 #1229711

    Hi Mike,
    Your new function works great! :-)
    Thank you sooo much for your help!
    Do you think it is possible to display “1 of 5”, “2 of 5”, “3 of 5” and so on like on other pages, or maybe it is too difficult?

    in reply to: Header Behaviour on mobile #1229673

    Oh I’m really sorry!!
    I was confused with another issue I have…
    I wanted elements on mobiles to use the full width, but only in my menu.
    So I changed your code to:

    @media only screen and (max-width: 479px) {
    .container.av-logo-container {
    width: 100%!important;
    max-width: 100%!important;}
    }

    …and everything is ok for me now!
    Sorry again and thanks a lot for your help! :-)
    Best regards.

    in reply to: Header Behaviour on mobile #1229624

    Hi Victoria,
    Thanks for your reply.
    I’m sorry but this code doesn’t work. But maybe it could also be linked to this issue: https://kriesi.at/support/topic/unstick-topbar-on-mobile/.

    in reply to: Responsive Products Slider #1229507

    Hi Mike,
    So I doubled my slider on my homepage and it seems to works normally.
    This topic can be closed.
    Thanks a lot for your help!

    in reply to: Search – number of displayed results #1229506

    Hi Ismael,
    Thanks for your reply.

    I gonna try your function later and I will have some questions about it.
    But for now, I absolutely need to make my search dropdown visible again.

    I tried many things:
    – disable all added functions related to search in my functions.php file
    – disable all added CSS related to search in my style.css file
    – delete searchform.php file I added in my child theme to transform the classic theme search to WooCommerce products search
    – deactivate Relevanssi extension
    …but there’s nothing to do. The search dropdown is still hidden and I don’t know why!

    I worry a lot about this because I will need to put my website online in the next weeks :-(

    Do you have an idea of what happened? Could you please help me on this?

    in reply to: Unstick topbar on mobile #1229505

    For information, my slider on mobiles and part of my slider on tablets are hidden because of this code I added to make header sticky on mobiles and tablets:

    @media only screen and (max-width: 989px) {
    .responsive #top #wrap_all #header {
    position: fixed!important;}
    }

    How could I solve this issue?
    Thanks!

    in reply to: Product grid limit number of products – Part 2 #1229500

    Hi Ismael, hi Mike,
    Lot of information today :-D

    Ismael, I tried to add my page ID in your function, but it doesn’t work.

    Mike, I’m not sure to understand what you mean about page/archive and 99… I think the page I need to limit the pagination is really a page and note an archive. This page is in private content and its ID is 5480.
    Anyway, I tried with this:

    		if(is_archive(array( 5480))) {
    			$pages = 5;
    		}

    …but it limits pagination of all pages of my website.

    I thank you a lot if you could find the issue, but if it’s too complicated, cause now there is only one page to limit the pagination, maybe a CSS solution like the one Ismael tried above could be enough…

    Waiting for your reply guys.

    Thanks a lot for your work!! ;-)

    in reply to: Burger menu on the left on mobiles and tablets #1229498

    Hi Jordan,
    Thanks for your reply.
    This code doesn’t work. It places my burger menu icon under the search icon.
    I modified it to:

    @media only screen and (max-width: 767px){
    .main_menu{
    width: 40%!important;
    }}

    …and it seems to work.
    But from now, my logo “hover space” seems to occupy the entire right side of my menu and it hides shopping cart. So when clicking on the shopping cart, it returns to my main page.

    Hi Mike,
    Yes, this thread can be closed.
    Thanks a lot for your help! :-)

    Hi Mike,
    Perfect!!
    Thanks a lot Mike! :-)

    I’m sorry to ask here, but you helped me for some issue in this thread:
    https://kriesi.at/support/topic/product-grid-limit-nimber-of-products/
    First, I thought everything was ok, but I realized that the function caused an issue. So I opened a new thread about this:

    …but I had received no solution.

    For information, I made some changes on my website, and I now need to limit number of pages or products on page-id-5480 only.

    Could you please help me?

    in reply to: Unstick topbar on mobile #1229003

    Hi Jordan,
    I tried many things:
    – add the code to the very top of my Quick CSS
    – add !important to the code
    – clear browser cache and Autoptimize cache many times
    – add the code to the very top of my style.css file
    …but it doesn’t work.

    in reply to: Unstick topbar on mobile #1228863

    Hi Jordan,
    Thanks for your reply.
    Unfortunately, this code doesn’t change anything.

    Hi Mike,
    Your function works perfectly! Thanks a lot!
    The only last thing I need to do is hiding this category in my categories widget (second column in my footer).
    Do you know which code I need to add to achieve this?
    Thanks Mike!

    in reply to: Product grid limit number of products – Part 2 #1228387

    Hi Ismael,
    Thanks for your reply.
    I can see you already added this code to my functions.php file, but it doesn’t work.
    Furthermore, I would need to apply this limitation to only three pages on my website…

    Hi Mike,
    Thanks for your reply.
    I created a new category “Petits prix” (slug: petits-prix) and I added the product in private content to this category.
    So I added your code like this:
    function custom_pre_get_posts_query( $q ) {

    $tax_query = (array) $q->get( ‘tax_query’ );

    $tax_query[] = array(
    ‘taxonomy’ => ‘product_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => array( ‘petits-prix’ ),
    ‘operator’ => ‘NOT IN’
    );

    $q->set( ‘tax_query’, $tax_query );
    }
    add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );
    …but it doesn’t work. The category tag is still visible on product page.

    in reply to: Centered submenus #1227355

    Hi Yigit,
    Thanks for your reply.
    I’m sorry but I really don’t want to use codes to align my submenus approximately and to make them not really centered on some screen widths…
    Does a code exist to really center this kind of elements?
    Thanks a lot!

    in reply to: Search – number of displayed results #1227351

    Hi Ismael,
    Thanks for your reply.
    Once again, limiting posts per page is not what I need and this documentation seems to deal with that.
    I only need to limit search results in the menu.
    But since some days, I now have a bigger problem! Absolutely no result is displayed in the search bar and I don’t know what happened :-(

    in reply to: Product grid limit number of products – Part 2 #1227345

    Hi Ismael,
    Thanks for your reply.
    Maybe it could be a solution, but I tried to adapt your code to a specific page like this:
    .page-id-5494 .pagination .pagination-meta, .page-id-5494 .pagination a:nth-child(1), .page-id-5494 .pagination a:nth-child(n+8) {
    display: none !important;
    }
    …and it doesn’t work.
    It limits the number of pages to 3, I don’t know why.
    And I would prefer to keep arrows to next pages and last page and the pagination-meta. That’s the reason why Mike’s function was a great idea, but maybe it only needs some adjustments…

    in reply to: Google Maps API Key doesn't work #1226251

    Hi Rikard.

    Same than vanlent for me too.
    Everything works now!

    I think this topic can be closed.

    Thanks a lot for your help! ;-)

    in reply to: Product hover: Hover effect on Overview Pages #1226250

    Hi Jordan,
    I understand.
    So I uninstalled Smush which is not so important for me and everything works fine.
    Thanks for your help :-)

    in reply to: Search dropdown placeholder #1226249

    Hi Mike,
    I forgot to tell you that your function works perfectly!
    Thanks a lot for your precious help ;-)
    Best regards

    in reply to: Search – number of displayed results #1226248

    Hi Guenni,

    Thanks for your reply.
    The issue came from Relevanssi extension. I deactivated it and your function works.

    But I need Relevanssi for other actions.
    Do you think your code can be adjusted to work with it?
    Or maybe Relevanssi settings??

    Thanks a lot!

    in reply to: Centered submenus #1225874

    Hi Ismael,

    Thanks for your reply.
    I think I am confused in my words, so I made a video screenshot of what I’m talking about. You could find it in private content.
    As you can see, submenus are nearly centered on some screen widths, but not on others and this is of course not what I want.

    I’m looking for a solution to make submenus same width (this is solved) and ALWAYS centered in the middle of the screen, so this way they will all be at the exact same place.

    I tried your previous code with something like:

    .responsive {
      position: relative;
    }
    #menu-item-2089 {
      position: relative;
      left: 50%;
      transform: translateY(-50%);
    }

    just to see if #menu-item-2089 element would be centered, but it is not.

    What I need seems to be so easy, but I’m completely lost on this! :-(

    in reply to: Search – number of displayed results #1225383

    Sure :-(
    I did everything you mentioned. I also tried on another browser.
    But it doesn’t work.

    in reply to: Search – number of displayed results #1225365

    Hi Guenni,
    Thanks for your reply.
    Only on the preview in the ajax search, that’s exactly what I need.
    I’m sorry but this function doesn’t work for me :-(

    in reply to: Search – number of displayed results #1224969

    Oh really ? :-( Ok!
    And there really is no CSS solution to show only 5 or 6 products in the search results and “Show more results” button at the end?

Viewing 30 posts - 91 through 120 (of 375 total)