Filter Search Box Customisation

  • Posts: 16
  • Thank you received: 1
11 years 7 months ago #97840

Morning All

I have been searching this forum and find most of the answers I have needed so far. But there is one question I just cant work out, more to do with my lack of CSS skills.

I would like to steam line the filter search box to fit into the menu bar at the top and macht the size of the buttons in the menu bar. Can anyone help me?

Thanks in advance.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #97881

Hi,

With a link it would be easiest.
I think that you have to change the position of the class "hikashop_filter_main_div".

Like ".hikashop_filter_main_div{ position: relative; top: -20px;}"

Here is some documentation for css issues:
www.hikashop.com/fr/support/documentatio...ize-the-display.html

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
11 years 5 months ago #107086

Thank you for your reply.

I am still not sure what you mean, as my CSS skills are limited. Currently the site is offline but if you PM me I will give you access to view it.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #107112

You can try to add this property with "!important", like:

.hikashop_filter_main_div{ position: relative; top: -20px !important;}
In Configuration > CSS > frontend css file.

This should work :)

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
11 years 5 months ago #107409

Thank you but that still didnt work :( Any more ideas?

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #107439

Did something moved?
You should do a right click on the search box and use the "inspect element" function of your browser.
You will then be able to see the class or id of the element. Just use this class to do whatever you want.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
11 years 4 months ago #108446

I will give that a go.

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
11 years 4 months ago #109229

I have found the class or id but don't where I cant edit it. See below.

Attachments:
Last edit: 11 years 4 months ago by adeycorp.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #109253

You have to add your css to the front end css file in System>Configuration>Display>CSS
For example with your id:

#hikashop_filter_button_module_102{
 //whateveryouwant;
}

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
11 years 4 months ago #109254

Thank you for that. I will give it a try.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum