Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
Golden Synergy
That line of code is showing in the last line of my responsive_sheffield_blue_definess.php
I did upgrade from Sheffield Blue 1 to v 2.0 .
Look at line 143 in includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php.
I guess you replaced
PHP Code:
<?php echo PAYMENT_ICON; ?>
by payment.png . Replace the original part.
In the last line of includes/languages/english/extra_definitions/responsive_sheffield_blue/responsive_sheffield_blue_defines.php you find:
Code:
define('PAYMENT_ICON','<i class="fa fa-cc-paypal"></i><i class="fa fa-cc-amex"></i><i class="fa fa-cc-discover"></i><i class="fa fa-cc-mastercard"></i><i class="fa fa-cc-visa"></i><i class="fa fa-paypal"></i>');
You might delete the methods that you do not provide, for instance the one in red.
Cheers,
jpda
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
picaflor-azul
You need to make sure that you have the includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php file from the new package and that you are calling font awesome.
Thanks,
Anne
Anne:
I do have that file in place. I can not find any "font" info inside it. Could you show me where font awesome should be?
Mark
Re: Responsive Sheffield Blue V 2.0!
Re: Responsive Sheffield Blue V 2.0!
Try my suggestion in #681. Does it work?
Cheers,
jpda
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
jpda
Try my suggestion in #681. Does it work?
Cheers,
jpda
My line 143 looks like this ...<div id="header-icons"><?php echo PAYMENT_ICON; ?></div>
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
jpda
Try my suggestion in #681. Does it work?
Cheers,
jpda
Sorry It did not work.
Mark
Re: Responsive Sheffield Blue V 2.0!
I have been looking at your live site. With developers tools (firefox of whatever), I see
HTML Code:
<div id="header-icons">payments.png</div>
.
Did you check the files on your live site?
jpda
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
jpda
I have been looking at your live site. With developers tools (firefox of whatever), I see
HTML Code:
<div id="header-icons">payments.png</div>
.
Did you check the files on your live site?
jpda
The payments.png is located at includes/templates/responsive_sheffield_blue/images
that is the same area I have my aboutus.png
Re: Responsive Sheffield Blue V 2.0!
Quote:
Originally Posted by
Golden Synergy
The payments.png is located at includes/templates/responsive_sheffield_blue/images
that is the same area I have my aboutus.png
But <div id="header-icons">payments.png</div> will never work! If you want a picture here instead of the CSS buttons (fa fa in this case), you might try this:
In tpl_modules_mobile_categories_tabs.php replace this code:
Code:
<div id="header-icons"><?php echo PAYMENT_ICON; ?></div>
by
PHP Code:
<div id="header-icons">
<img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.'payments.png' ?>" class="imgshadow_light" alt="payments" /></div>
I did not test this, so be careful!
Cheers,
jpda
1 Attachment(s)
Re: Responsive Sheffield Blue V 2.0!
Attachment 16104
That did not work :( it wiped out the bottom 3/4s of my site.