Zen Cart Logo
Forums / Addon Templates / Sheffield Blue Template Support Thread

Sheffield Blue Template Support Thread

Views: 123,058

Results 641 to 660 of 842
5 Apr 2014, 10:58 PM
#641
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Sheffield Blue Template Support Thread

Yourvirtualworld:

Thanks again Anne. You're a sweetheart. I placed the following code in the email address to reduce spam harvesting of email addresses on the site. Replace the @ symbol with @ so that the email address would be [email protected].

I am happy that it worked for you ;)

Thanks,

Anne

19 Apr 2014, 1:24 PM
#642
sammysms avatar

sammysms

New Zenner

Join Date:
Apr 2014
Location:
Witbank
Posts:
2
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

Good day all.

1stly Great template... but how do I change the facebook link and the youtube link in the side box on the main page?

Regards

19 Apr 2014, 2:04 PM
#643
sammysms avatar

sammysms

New Zenner

Join Date:
Apr 2014
Location:
Witbank
Posts:
2
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

sammysms:

Good day all.

1stly Great template... but how do I change the facebook link and the youtube link in the side box on the main page?

Regards

Great now I've edited the includes\languages\english\extra_definitions\sheffield_blue\footer_menu_defines and social_defines .php and um broke my main page...
The scrolling banner and the social media boxes are now gone.. ive tried replacing both those .php files and then activating the classic template and then activating the sheffield templates, ive tried clearing my cookies and cach and still nothing.

19 Apr 2014, 3:44 PM
#644
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Sheffield Blue Template Support Thread

sammysms:

Great now I've edited the includes\languages\english\extra_definitions\sheffield_blue\footer_menu_defines and social_defines .php and um broke my main page...
The scrolling banner and the social media boxes are now gone.. ive tried replacing both those .php files and then activating the classic template and then activating the sheffield templates, ive tried clearing my cookies and cach and still nothing.

I am happy that you like the template ;)

There are instructions for customizing the social media links in the readme.html file included in the template package. Since this is a php file you need to edit it with a plain text editor. I would recommend re uploading the original file from the template package and trying your changes again.

Thanks,

Anne

3 May 2014, 2:55 PM
#645
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

davewest:

I've been slowly building a replacement for my live site using Sheffield Blue as a base. I'm at a point right now where I've been going back through and redesigning most of my forms to make them more responsive. I had some older mod forms not using the new spam idea and recoded with the spam code. I also modifed the mega menue contact form so when it fails it plays nice with the changes I'm doing on the normal contact us from.

I added a hidden subject so I know where the message came from... maybe you will find it usfull, I've tested the mega menu and it's behaving as expected... the input field is tracking back and getting cought by the main code.

<br class="clearBoth" /> <label for="enquiry">Message<span class="required"> *</span></label> <?php echo zen_draw_textarea_field('enquiry', '40', '3', $enquiry, 'id="enquiry" class="required" required="" type="text"'); ?> <?php echo zen_draw_input_field('should_be_empty', '', ' size="10" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?> <?php echo zen_draw_hidden_field('subject', 'From MegaMenu', ' id="subject"'); ?> ```

Is this all the code that needs to be added to the tpl_mega_menu.php file or is there other code to be added to other files also. Thanks

3 May 2014, 3:07 PM
#646
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Sheffield Blue Template Support Thread

countrycharm:

Is this all the code that needs to be added to the tpl_mega_menu.php file or is there other code to be added to other files also. Thanks

I have not tried this code, you would need to contact the poster with this question.

Thanks,

Anne

22 Jun 2014, 3:14 PM
#647
robert_ensing avatar

robert_ensing

New Zenner

Join Date:
Jun 2014
Location:
St. Catharines, ON
Posts:
3
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

Where can I find instruction on how modify the template now that it's installed on our site.
Particularly the flash banner at the top, what do I need to change that since I can make my own flash, just need to know to implement it.

22 Jun 2014, 3:23 PM
#648
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Sheffield Blue Template Support Thread

Robert Ensing:

Where can I find instruction on how modify the template now that it's installed on our site.
Particularly the flash banner at the top, what do I need to change that since I can make my own flash, just need to know to implement it.

The template uses a jquery slide show, not flash. The readme.html file included in the template package has instructions for how to change the slides.

Thanks,

Anne

1 Jul 2014, 8:37 AM
#649
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

How I can change background color for product description only.

I tried #productDescription {background:#013991;} but it change background color in product description for the space around font but not behind the text.

Thank you!

1 Jul 2014, 9:27 AM
#650
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

jsarwar:

How I can change background color for product description only.

I tried #productDescription {background:#013991;} but it change background color in product description for the space around font but not behind the text.

Thank you!

This really depends on if you are using stock code. So if you are using the code as provided for the tpl product info display without modifications, then the #productDescription {background: ???} will change the div element background to what you chose. But I am confused on what exactly you want the background to do for behind the text. I think either a site to look at or a better explanation on what you want done. The part that confuses me is "behind the text". What exactly does this mean?

But to help you do this by yourself use firebug or a web developer tool so you can change it live to see what effects are done. Or if that is not to your liking then you may always enclose more elements in divs and classes to get the look you want.

1 Jul 2014, 12:03 PM
#651
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

tpl product info does not have any thing for back ground color

" <!--bof Product description -->

<?php if ($products_description != '') { ?> <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div> <?php } ?> <!--eof Product description -->"

When I add #productDescription {background:#013991;} to stylesheet background color of description content/font stays white but the space between two line/paragraphs get background of #productDescription {background:#013991;}. How I can get full description content background to #productDescription {background:#013991;}.

For example see attached.
Thank you!

1 Jul 2014, 12:42 PM
#652
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Sheffield Blue Template Support Thread

jsarwar:

tpl product info does not have any thing for back ground color

" <!--bof Product description -->

<?php if ($products_description != '') { ?> <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div> <?php } ?> <!--eof Product description -->"

When I add #productDescription {background:#013991;} to stylesheet background color of description content/font stays white but the space between two line/paragraphs get background of #productDescription {background:#013991;}. How I can get full description content background to #productDescription {background:#013991;}.

For example see attached.
Thank you!

If you post a link to the page you are having trouble with I can take a look.

Thanks,

Anne

1 Jul 2014, 1:22 PM
#653
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

picaflor-azul:

If you post a link to the page you are having trouble with I can take a look.

Thanks,

Anne

bit.ly / 1mQkKXo

I have not included #productDescription {background:#013991;}. in stylesheet right now because page will not look nice to customers.

Thank you!

1 Jul 2014, 1:42 PM
#654
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

jsarwar:

I have not included #productDescription {background:#013991;}. in stylesheet right now because page will not look nice to customers.

Wow, you will need to do some clean up IF you want flexibility in the future. But from what I see you have modified the tpl_product_info_display.php in that you are using TPP in some way but still not sure how as some of the code blocks that should show are not registering.

But try this code IF you want a background right now:

#productDescription {background:#013991}
p {background:none !important}

Usually for these cases, the "p" tag would not need the background set as none. Also, you will recognize the use of "!important". This is because you have ALOT of inline styles. I suggest you move ALL inline styles out and into the css files. This would then solve your issue to further modify the elements.

For the inline style, you have this in your product description for the "p" tags which is setting the background to white.

<p style="text-align: center; margin: 0.9em; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; line-height: 15px; background-color: rgb(255, 255, 255);">

You also have inline styles for your subheadings in the description. So move all those out and into css.

Also you do have a closing </h2> tag twice. This is causing other issues on your site. So try to fix that and then see if all other things fix itself. That was the only thing that stood out immediately. Granted I have not looked into your file in depth so I can only guess that more things like these exist elsewhere.

1 Jul 2014, 2:10 PM
#655
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

Thank you. I will work on this now and let you know.
Do you know how I can delete or remove link from previous post?

1 Jul 2014, 9:05 PM
#656
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

yaritai:

Wow, you will need to do some clean up IF you want flexibility in the future. But from what I see you have modified the tpl_product_info_display.php in that you are using TPP in some way but still not sure how as some of the code blocks that should show are not registering.

But try this code IF you want a background right now:

#productDescription {background:#013991}
p {background:none !important}

> 
> Usually for these cases, the "p" tag would not need the background set as none.  Also, you will recognize the use of "!important".  This is because you have ALOT of inline styles.  I suggest you move ALL inline styles out and into the css files.  This would then solve your issue to further modify the elements.
> 
> For the inline style, you have this in your product description for the "p" tags which is setting the background to white.
> 
> ```
<p style="text-align: center; margin: 0.9em; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; line-height: 15px; background-color: rgb(255, 255, 255);">

You also have inline styles for your subheadings in the description. So move all those out and into css.

Also you do have a closing </h2> tag twice. This is causing other issues on your site. So try to fix that and then see if all other things fix itself. That was the only thing that stood out immediately. Granted I have not looked into your file in depth so I can only guess that more things like these exist elsewhere.

Thank you for suggestions.

(1) <p style="text-align: center; margin: 0.9em; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; line-height: 15px; background-color: rgb(255, 255, 255);">

probably there because when we edit description and select font size etc. Now I have to edit each single item to delete this line?

(2) #productDescription {background:#013991}
p {background:none !important}

This did work except for headings in description.

(3) I think you referring to </h2> in price block but file product info have only 1 </h2>

<!--bof Product Price block --> <h2 id="productPrices" class="productGeneral"> <?php // base price if ($show_onetime_charges_description == 'true') { $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />'; } else { $one_time = ''; } echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']); ?></h2> <!--eof Product Price block

so not sure where second one coming from. Can you assist

1 Jul 2014, 9:23 PM
#657
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

yaritai Thank you for your help.
I was able to get headings in same Bg color by entering h3 like p in css.

Can you please asssit about </h2> and how I can get Sup Fact table background also changes using css.
I did delete </h2> at the end of price block in info file which shows only 1 of </h2> now but I am not sure if its right way to do and have fixed other issues you.

2 Jul 2014, 3:06 AM
#658
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

jsarwar:

yaritai Thank you for your help.
I was able to get headings in same Bg color by entering h3 like p in css.

Can you please asssit about </h2> and how I can get Sup Fact table background also changes using css.
I did delete </h2> at the end of price block in info file which shows only 1 of </h2> now but I am not sure if its right way to do and have fixed other issues you.

My mistake on the h2 tag, it was not the closing but the opening tag. Was burning some time at the airport waiting for a delay which looked at your site at a glance. But this is what is being put out to the browser:

<!--bof Product Price block -->
<h2 id="productPrices" class="productGeneral">
$33.89<h2 style=" font-size:11px; color:#000000; padding-left:11px; font-weight:bold; padding-top:3px;"></h2><!--eof Product Price block -->

Its the part in red that needs to be removed. Try to use the developers toolkit and search for part of the string such as "h2 style". See what comes up. Match the results to the full string above. And to go on about stray tags, you do have extra closing </div> in that file as well. One of the few I see is from the non-use of an extra description field that is producing no content. I would wrap that ending div in the conditional to show only when that description2 field has content to ouput. Other closing </div> are from the same thing of having no content which the only thing that shows is the closing div with nothing else.

For the supp table, use:

table.nutrition, table.nutrition td {background:#013991;}

If I were you, I would remove those inline styles in bulk by exporting your database and not through admin. But if this route is taken, backup your database and files and make a test site to test the changes. Doing it straight from the database file can accomplish this in less than 30 minutes. While in admin, you will be there forever without any progress with the number of products you have.

3 Jul 2014, 9:40 PM
#659
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Sheffield Blue Template Support Thread

yaritai:

My mistake on the h2 tag, it was not the closing but the opening tag. Was burning some time at the airport waiting for a delay which looked at your site at a glance. But this is what is being put out to the browser:

<!--bof Product Price block --> <h2 id="productPrices" class="productGeneral"> $33.89<h2 style=" font-size:11px; color:#000000; padding-left:11px; font-weight:bold; padding-top:3px;"></h2><!--eof Product Price block --> ``` > > Its the part in red that needs to be removed. Try to use the developers toolkit and search for part of the string such as "h2 style". See what comes up. Match the results to the full string above. And to go on about stray tags, you do have extra closing </div> in that file as well. One of the few I see is from the non-use of an extra description field that is producing no content. I would wrap that ending div in the conditional to show only when that description2 field has content to ouput. Other closing </div> are from the same thing of having no content which the only thing that shows is the closing div with nothing else. > > For the supp table, use: > > ``` table.nutrition, table.nutrition td {background:#013991;} ``` > > If I were you, I would remove those inline styles in bulk by exporting your database and not through admin. But if this route is taken, backup your database and files and make a test site to test the changes. Doing it straight from the database file can accomplish this in less than 30 minutes. While in admin, you will be there forever without any progress with the number of products you have.

Thank you. I will try this on weekend and will let you know. Do you know how I can get a table loaded or already present in description area so I don't have to create it in product description every time when creating product.

<table border="1" style="width: 353px;"><tbody><tr><td><br /></td></tr></tbody></table>
3 Jul 2014, 9:46 PM
#660
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Sheffield Blue Template Support Thread

jsarwar:

Thank you. I will try this on weekend and will let you know. Do you know how I can get a table loaded or already present in description area so I don't have to create it in product description every time when creating product.

<table border="1" style="width: 353px;"><tbody><tr><td><br /></td></tr></tbody></table>

That's really a topic that can/should be covered in it's own thread, but it is possible with ckeditor to define a table type style that can be applied at the click of a button (or two).