Welcome, Guest
Username: Password: Remember me

TOPIC: CSS for VirtueMart Search Module

CSS for VirtueMart Search Module 3 years 9 months ago #3959

  • danielblasco
  • danielblasco's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Thank you received: 1
  • Karma: 0
To search for products is best to use the VirtueMart module to display the pictures. How I can give the same styles as the default search engine?

I temporarily left the two searchers activated for test.

Thanks again!

www.nouclima.com/nouclima2
The administrator has disabled public write access.

Re: CSS for VirtueMart Search Module 3 years 9 months ago #3973

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You just simple edit class name of VM module search:
<form class="default-search" ...>
<input id="mod-search-searchword"  ...>
The administrator has disabled public write access.
The following user(s) said Thank You: danielblasco

Re: CSS for VirtueMart Search Module 3 years 9 months ago #4056

  • danielblasco
  • danielblasco's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Thank you received: 1
  • Karma: 0
I managed styles for the box, but I can not apply the following styles to the button... :S

border: 0;
float: left;
font-family: 'Oswald';
font-size: 18px;
text-align: center;
color: #FFFFFF;
background: url(../images/btn-bg.png) 0 0 repeat-y #35a8a3;
padding: 0px 5px !important;
line-height: 27px;
display: inline-block;

www.nouclima/nouclima2
The administrator has disabled public write access.

Re: CSS for VirtueMart Search Module 3 years 9 months ago #4061

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
You just need edit module virtuemart search template file and add more class="default-search" into form tag as my suggestion above.

Regards
The administrator has disabled public write access.
The following user(s) said Thank You: danielblasco

Re: CSS for VirtueMart Search Module 3 years 7 months ago #4597

  • setecarea
  • setecarea's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
I have the same problem and i don't find the template file ... can you explain ?

Thx
The administrator has disabled public write access.
Time to create page: 0.170 seconds