X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart - reBOOT - Responsive Template (https://forum.x-cart.com/showthread.php?t=66570)

xtech 09-05-2013 03:25 AM

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.

costanza 09-09-2013 10:51 PM

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.

PhilJ 09-10-2013 04:12 AM

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; }

gozindagi 09-11-2013 03:10 AM

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.

PhilJ 09-11-2013 10:15 AM

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>

PhilJ 09-11-2013 12:00 PM

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>"}

yages 09-11-2013 02:07 PM

Re: X-Cart - reBOOT - Responsive Template
 
Can the speed bar tabs be highlighted in different color.

PhilJ 09-11-2013 03:08 PM

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>

gozindagi 09-12-2013 04:02 AM

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?

PhilJ 09-12-2013 04:23 AM

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.


All times are GMT -8. The time now is 05:26 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.