Jump to content

How to make top horizontal menu search function like quick search block (suggestion dropdown) ?


Recommended Posts

I am using ver. 1.0.6.14 default-bootstrap theme.

I enabled search bar in top horizontal menu module and remove the quick search block module.

Here is the issue, search bar in top horizontal module does not function like quick search block module with suggestion dropdown.

Is there a way to give search bar in top horizontal module suggestion function and submit search button?

http://www.kocamoca.com/en/

 

Or If i can move quick search block to the right of Top Horizontal Menu on the same line, that would work too.

 

thank you

Edited by cnpark70 (see edit history)
Link to comment
Share on other sites

Hi nemo thank you again, It is just too much for me to handle. I watched and listened to your instruction but I am quite a newbie with very little understanding of coding.

I just copy and pasted thats about it.

So for me moving and positioning the quick search box is maybe easier for me which I don't have a clue either. :)

Link to comment
Share on other sites

I would personally use Chrome's debug console.
open it up, right click on the search and inspect the element. Make sure it's the very outer wrapper of the box. Now add this style

 

position:absolute
right: 0;

top:0;

You'll see it moving. Adjust right and top till you're satisfied, then, without refreshing the page, copy those styles and paste them into the real blocksearch.css, or global.css, applying the rule to 
#search_block_top

 

Link to comment
Share on other sites

Hi Nemo Thanks for your your help.

I added the code and the quick search box moved to right.

Now I just had to lower the position so it can align with top menu category.

So I put a number in top as below

 

#search_block_top {

  padding-top: 1px;
  position:absolute ;
  right: 0;
  top: 1; }

 

But the quick search box move right below the top horizontal menu's bottom line.

www.kocamoca.com

Even if I put small number like 1, quick search does not move down incrementally. It rather drops right below top horizontal.

Again I have no idea why its dropping so much low even if I give small number.

 

Any idea why it's doing it or help?

 

Thanks Nemo

Edited by cnpark70 (see edit history)
Link to comment
Share on other sites

Hi nemo, I posted a topic and no one seems to know the solution for my problem with pop cart position.

I was wondering if you can help me again. :D

 

If you can, can you please refer to below topic I posted.

 

I am using version 1.0.6.14 default-bootstrap theme.

When you add to cart a pop up box saying Product successfully added to your shopping cart show up.

Here is the problem, the pop up box shows up too far low so the most of the box is cut off from the bottom.

It becomes worse when you scroll down to add product in 2nd row and below. The pop up box positioned so low that it is completely out of screen.

 

How can I move up the order congratulation box?

My site is http://www.kocamoca.com/en/

 

Thank you in advance for help

Link to comment
Share on other sites

Hm, it's set with javascript

top: 625px;
 

So it might be a bit more complex to fix it. Ajax-cart.js (theme folder /js/blockcart)
 

var n = parseInt($(window).scrollTop()) + 'px';
 
$('.layer_cart_overlay').css('width','100%');
$('.layer_cart_overlay').css('height','100%');
$('.layer_cart_overlay').show();
$('#layer_cart').css({'top': n}).fadeIn('fast');
crossselling_serialScroll();

You might want to change "n" to a fixed value in px
Link to comment
Share on other sites

Hi nemo. Can I ask you for more help?

 

I posted a new topic asking for some help regarding how to set maximum number of products to show and also to set the height for cart block drop down list ( and add view all link at the bottom of the list) or add vertical scroll bar to appear when there are too many products. However, I am not getting any guide or help yet from anybody.

 

The reason for this request is that if there are too many products in the cart, the drop down cart list runs off the bottom of the screen and there is no way to see the rest of the products below the bottom of the screen. This started happening when I change the position from relative to fixed for header section (I need to keep this)

 

Thank you in advance again.

Link to comment
Share on other sites

I am still having trouble displaying price and Add to wishilist button in viewed products block (left column and right column) and Add to wishlist button in new products block (left column and right column) and facially for product tabs ( new arrivals, popular, best seller) index page.

I posted this topic here for help.

https://www.prestashop.com/forums/topic/446574-how-to-display-price-and-add-to-wishlist-button-in-viewed-product-block-and-new-products-block/

 

My site is http://www.kocamoca.com/en/

Thanks again nemo for your help.

Edited by cnpark70 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...