Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart - reBOOT - Responsive Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #211  
Old 09-05-2013, 03:25 AM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: X-Cart - reBOOT - Responsive Template

Hello,
I have seen in http://www.arscommunity.com/wiki/articles/x-cart-wordpress-integration
================================================== =
Sometimes this script can not parse WordPress pages properly in order to find meta and body information. Such problem may be related to your WordPress blog version or design changes performed to WordPress skin. In this case it will be required to review “blog.php” file and find suitable preg_match expression
================================================== ==
Where to change "suitable preg_match expression" in order to display blog.php in my site?

Please let me know.
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote
  #212  
Old 09-09-2013, 10:51 PM
 
costanza costanza is offline
 

Senior Member
  
Join Date: Apr 2011
Location: Canada
Posts: 152
 

Default Re: X-Cart - reBOOT - Responsive Template

Does anyone know how to adjust the height of the header top bar. (header_top)?

I would like to make mine about 60% of the current height.
__________________
X-Cart Business 5.4.1.49
Reply With Quote
  #213  
Old 09-10-2013, 04:12 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Does anyone know how to adjust the height of the header top bar. (header_top)?

I would like to make mine about 60% of the current height.

Edit skin/reboot/css/reboot.css

Code:
.header_top { padding: 3px 3px 1px 3px; border-bottom: 1px solid transparent; -webkit-border-radius: 0px 0px 4px 4px; -moz-border-radius: 0px 0px 4px 4px; border-radius: 0px 0px 4px 4px; }
__________________
xcartmods.co.uk
Reply With Quote
  #214  
Old 09-11-2013, 03:10 AM
 
gozindagi gozindagi is offline
 

Advanced Member
  
Join Date: Jul 2013
Posts: 61
 

Default Re: X-Cart - reBOOT - Responsive Template

Hello Phil,
I want make menu in this style long category name in two lines and some categories will be highlighted in different color.

How to do that? Can u pls help me?

http://www.gozindagi.com/devgoz/Health%20Shoppe%20Header%28reboot%29.jpg

Thanks.
__________________
X-cart Platinum 4.6.0
Reply With Quote
  #215  
Old 09-11-2013, 10:15 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
I want make menu in this style long category name in two lines and some categories will be highlighted in different color.


It's not possible to 'wrap' category names, but you can change colours...

First obtain the numerical categoryid value(s) of the categories you want to change the colour of.

Then in skin/reboot/custom/header/categories_header.tpl

Replace...

Code:
{foreach from=$categories_menu_list item=c} <li>

With...

Code:
{foreach from=$categories_menu_list item=c} <li class="cat_{$c.categoryid}">

Then in your theme CSS file, eg. skin/reboot/css/themes/blue.css

Insert...

Code:
li.cat_123 { background: #FF0000; } li.cat_246 { background: #00FF00; } li.cat_369 { background: #0000FF; }

Etc.

If you are using the 'custom' theme, then add the CSS code to skin/reboot/custom/reboot_head.tpl

Before...

Code:
</style>
__________________
xcartmods.co.uk
Reply With Quote
  #216  
Old 09-11-2013, 12:00 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
I want make menu in this style long category name in two lines

There is actually a way to 'wrap' category names...

In your case you wish to wrap after the ampersands, so in skin/reboot/custom/header/categories_header.tpl

Replace...

Code:
{$c.category}

With...

Code:
{$c.category|replace:"&":"&<br>"}
__________________
xcartmods.co.uk
Reply With Quote
  #217  
Old 09-11-2013, 02:07 PM
 
yages yages is offline
 

eXpert
  
Join Date: Sep 2004
Location: Australia
Posts: 332
 

Default Re: X-Cart - reBOOT - Responsive Template

Can the speed bar tabs be highlighted in different color.
__________________
yages
x-cart version 4.5.5
Reply With Quote
  #218  
Old 09-11-2013, 03:08 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Can the speed bar tabs be highlighted in different color.
Yes, in a similar fashion, in skin/reboot/custom/header/categories_header.tpl

Replace...
Code:
<li class="nosub"><a href="{$speed_bar[sb].link|amp}">{$speed_bar[sb].title}</a></li>
With...
Code:
<li class="nosub link_{$speed_bar[sb].id}"><a href="{$speed_bar[sb].link|amp}">{$speed_bar[sb].title}</a></li>
The use CSS...
Code:
li.link_123 { background: #FF0000; }
To get the speedbar IDs in the speedbar admin, in skin/common_files/admin/main/speed_bar.tpl

Replace...

Code:
<td><input type="text" size="45" name="posted_data[{%sb.index%}][title]" value="{$speed_bar[sb].title|escape}" /></td>

With...

Code:
<td><input type="text" size="45" name="posted_data[{%sb.index%}][title]" value="{$speed_bar[sb].title|escape}" />&nbsp;(ID: {$speed_bar[sb].id})</td>
__________________
xcartmods.co.uk
Reply With Quote
  #219  
Old 09-12-2013, 04:02 AM
 
gozindagi gozindagi is offline
 

Advanced Member
  
Join Date: Jul 2013
Posts: 61
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
There is actually a way to 'wrap' category names...

In your case you wish to wrap after the ampersands, so in skin/reboot/custom/header/categories_header.tpl

Replace...

Code:
{$c.category}

With...

Code:
{$c.category|replace:"&":"&<br>"}
I attach all code but it is not working.In your above post , is "246"("cat_246") category id?
__________________
X-cart Platinum 4.6.0
Reply With Quote
  #220  
Old 09-12-2013, 04:23 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
I attach all code but it is not working.In your above post , is "246"("cat_246") category id?
Correct, adjust 246 to your category ID.
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:56 PM.

   

 
X-Cart forums © 2001-2020