View Single Post
  #533  
Old 06-12-2016, 05:34 PM
  nauticalstyle's Avatar 
nauticalstyle nauticalstyle is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 49
 

Default Re: X-Cart Ability Template v4.4.x

How can I change the position of the Search Box in the header of the Ability custom template?

Here is what I believe happens so far:
  • Page layout appears to be controlled by ..\skin\ability\custom\common.tpl, which calls on common CSS (..\skin\ability\custom\css\common.css) and JS (..\skin\ability\custom\js\common.js) script.
  • common.tpl also includes ..\skin\ability\custom\custom_styles.tpl and links to the 960 Grid system (..\skin\ability\custom\css\grid\grid.css)
  • The appearance of the search box is controlled by CSS code (..\skin\ability\custom\css\common.css). Four sizes are defined small, medium, large and xlarge;
  • The size is set through the Admin Interface Settings menu (Settings>Ability Template options>Header Options>Header search box size;
  • The size parameter is passed as a variable ($config.Ability_Template.abi_header_search_size) to Smarty template code ..\skin\ability\custom\header\content\header_searc h.tpl
  • The compiled (php) template code is created in ..\var\templates_c\...
__________________
Tony
Skipper at Nautical Style
X-Cart Gold Version 4.7.12
X-Cart reBOOT (reDUX) Template 4.7.12.5 (in development)
Reply With Quote