Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,243

Results 981 to 1,000 of 1,865
26 May 2015, 2:22 PM
#981
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Westminster New

gamenano:

Hi Anne,

Firstly thank you for this awesome template. I have just installed it and playing with all the features today, and I was wondering if the text and the semi-transparent ribbon on the flex banner can be completely removed? or if easier, can I just set the text and the ribbon to transparent so I can't see them? Thank you!

Yes, you can either do a display:none; on it or if you read back in this thread (you may have to search the forum) there is another code suggestion for hiding the banner titles.

Thanks,

Anne

26 May 2015, 8:55 PM
#982
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

Yes, you can either do a display:none; on it or if you read back in this thread (you may have to search the forum) there is another code suggestion for hiding the banner titles.

Thanks,

Anne

Thank you Anne, display:none sounds great. Could I ask which CSS file please. Many thanks!

26 May 2015, 9:09 PM
#983
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

gamenano:

Thank you Anne, display:none sounds great. Could I ask which CSS file please. Many thanks!

stylesheet_flex.css

Thanks,

Anne

26 May 2015, 9:10 PM
#984
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

stylesheet_flex.css

Thanks,

Anne

Thank you!!

26 May 2015, 9:59 PM
#985
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Westminster New

Hi again Anne,

Is this where I have to change to display: none;?
.flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }

and where do I also hide the dark ribbon?

:blush:

29 May 2015, 1:16 PM
#986
purecarsound avatar

purecarsound

New Zenner

Join Date:
May 2006
Location:
Chester, UK
Posts:
99
Plugin Contributions:
0

Re: Westminster New

Hi Anne

I thought i'd post this on here for anyone to use in the future as I was going to post it originally with a question asking for your assistance but I managed to find the answer myself however.

I wanted to move product attributes to above the 'add to cart button' so that customers pre selected the options if required before adding product to cart. The attributes were originally displaying at the bottom of the page.

I found this thread which helped- https://www.zen-cart.com/showthread.php?85334-Moving-Attribute-above-Add-to-cart

In /includes/templates/westminster_new/templates/tpl_product_info_display.php

I moved ```

<!--bof Attributes Module --> <?php if ($pr_attr->fields['total'] > 0) { ?> <?php /** * display the product atributes */ require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> <?php } ?> <!--eof Attributes Module -->

To above 

<!--bof Add to Cart Box -->

The code move works perfectly and displays great on both website and mobile views as this link on our site shows.

<http://www.johnwoodsmotorcare.net/Cart/Car-Servicing/MGF-TF/MGF-MGTF-Head-Gasket-Replacement>
29 May 2015, 1:31 PM
#987
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

gamenano:

Hi again Anne,

Is this where I have to change to display: none;?
.flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }

and where do I also hide the dark ribbon?

:blush:

Add it to the .banner span

Thanks,

Anne

29 May 2015, 1:38 PM
#988
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Purecarsound:

Hi Anne

I thought i'd post this on here for anyone to use in the future as I was going to post it originally with a question asking for your assistance but I managed to find the answer myself however.

I wanted to move product attributes to above the 'add to cart button' so that customers pre selected the options if required before adding product to cart. The attributes were originally displaying at the bottom of the page.

I found this thread which helped- https://www.zen-cart.com/showthread.php?85334-Moving-Attribute-above-Add-to-cart

In /includes/templates/westminster_new/templates/tpl_product_info_display.php

I moved ```

<!--bof Attributes Module --> <?php if ($pr_attr->fields['total'] > 0) { ?> <?php /** * display the product atributes */ require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> <?php } ?> <!--eof Attributes Module -->
> 
> To above 
> 
> ```
<!--bof Add to Cart Box -->

The code move works perfectly and displays great on both website and mobile views as this link on our site shows.

http://www.johnwoodsmotorcare.net/Cart/Car-Servicing/MGF-TF/MGF-MGTF-Head-Gasket-Replacement

Thank you for posting your solution ;)

But, in this template package by default the attributes do show above the add to cart button. See the demo:

http://zenlyzen.com/responsive-zen-cart-demo/index.php?main_page=product_info&cPath=22&products_id=34&template_switch_id=westminster_new
Thanks,

Anne

29 May 2015, 3:23 PM
#989
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Westminster New

I have noticed that the slide out box does not display on https and there is a secure content warning. How can I get the slide out box to work on https and not display that warning?

29 May 2015, 5:15 PM
#990
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Danielle:

I have noticed that the slide out box does not display on https and there is a secure content warning. How can I get the slide out box to work on https and not display that warning?

You have probably put content into the box that is using an absolute url using http

Thanks,

Anne

29 May 2015, 7:35 PM
#991
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Westminster New

No, I already checked that. Currently this is the content and the slide box doesn't display at all on https pages:

/*bof left hand slide out content*/
define('SLIDE_OUT_CONTENT','test');

picaflor-azul:

You have probably put content into the box that is using an absolute url using http

Thanks,

Anne

29 May 2015, 7:59 PM
#992
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Danielle:

No, I already checked that. Currently this is the content and the slide box doesn't display at all on https pages:

/bof left hand slide out content/
define('SLIDE_OUT_CONTENT','test');


If you post a link to your site I can take a look.  I doubt that it is the slide out that is causing the ssl error.

Thanks,

Anne
29 May 2015, 8:05 PM
#993
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Westminster New

Sure, thank you. If you look at it on ssl, there is no slide out box, but the content that is supposed to be in the box is down in the lower left corner of the page.

https://flyingdreams.com.au/

If you click the Show All Content in the content warning in IE, the slide out box does show then.

picaflor-azul:

If you post a link to your site I can take a look. I doubt that it is the slide out that is causing the ssl error.

Thanks,

Anne

29 May 2015, 10:31 PM
#994
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Danielle:

Sure, thank you. If you look at it on ssl, there is no slide out box, but the content that is supposed to be in the box is down in the lower left corner of the page.

https://flyingdreams.com.au/

If you click the Show All Content in the content warning in IE, the slide out box does show then.

Change the http to https at the very bottom of the tpl_main_page.php:

 <a class="handle" href="https://link-for-non-js-users.html">Content</a>

Thanks,

Anne

29 May 2015, 11:20 PM
#995
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Westminster New

OK I did that, but the slide out still isn't showing.

picaflor-azul:

Change the http to https at the very bottom of the tpl_main_page.php:

<a class="handle" href="https://link-for-non-js-users.html">Content</a>

> 
> Thanks,
> 
> Anne
30 May 2015, 7:34 AM
#996
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Westminster New

Danielle:

OK I did that, but the slide out still isn't showing.

There are still a couple of error, if you look at your site using chrome you, and use the console. These are reported and need to be fixed

Mixed Content: The page at 'https://flyingdreams.com.au/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Slabo+27px'. This request has been blocked; the content must be served over HTTPS.
(index):22 
Mixed Content: The page at 'https://flyingdreams.com.au/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Sacramento'. This request has been blocked; the content must be served over HTTPS.
(index):1 
Mixed Content: The page at 'https://flyingdreams.com.au/' was loaded over HTTPS, but requested an insecure script 'http://www.flyingdreams.com.au/includes/templates/westminster_new/jscript/jquery.carouFredSel-6.0.2.js'. This request has been blocked; the content must be served over HTTPS.

These three points need fixing by changing http:// to //, so the scripts are loaded without a preferred protocol

30 May 2015, 3:36 PM
#997
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Westminster New

OK I fixed the google font code, but the other code is in two of the westminster_new template files (tpl_index_categories.php and tpl_index_default.php) like this:

<script type="text/javascript" src="<?php echo HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE; ?>jscript/jquery.carouFredSel-6.0.2.js"></script>

What do I change to make it go between http and https?

Thank you.

Design75:

There are still a couple of error, if you look at your site using chrome you, and use the console. These are reported and need to be fixed

Mixed Content: The page at 'https://flyingdreams.com.au/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Slabo+27px'. This request has been blocked; the content must be served over HTTPS.
(index):22
Mixed Content: The page at 'https://flyingdreams.com.au/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Sacramento'. This request has been blocked; the content must be served over HTTPS.
(index):1
Mixed Content: The page at 'https://flyingdreams.com.au/' was loaded over HTTPS, but requested an insecure script 'http://www.flyingdreams.com.au/includes/templates/westminster_new/jscript/jquery.carouFredSel-6.0.2.js'. This request has been blocked; the content must be served over HTTPS.

> These three points need fixing by changing http:// to //, so the scripts are loaded without a preferred protocol
30 May 2015, 4:06 PM
#998
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Danielle:

OK I fixed the google font code, but the other code is in two of the westminster_new template files (tpl_index_categories.php and tpl_index_default.php) like this:

<script type="text/javascript" src="<?php echo HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE; ?>jscript/jquery.carouFredSel-6.0.2.js"></script>
> 
> What do I change to make it go between http and https?
> 
> Thank you.

Change http_server to https_server

If I remember correctly there are posts earlier in this thread that mention all of the places in the template that need to be changed for ssl.


Thanks,

Anne
31 May 2015, 5:34 PM
#999
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Westminster New

Hi Anna,

Could you please help me with adjusting the UPDATE button for the shipping screen. At the moment it look like this.

Attachment #15331

Thank you!

31 May 2015, 6:30 PM
#1000
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

gamenano:

Hi Anna,

Could you please help me with adjusting the UPDATE button for the shipping screen. At the moment it look like this.

Attachment #15331

Thank you!

If you post a link to your site I can take a look.

Thanks,

Anne