Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-03-08 11:01:48

Jon
Member
From: Alberta, Canada
Registered: 2012-09-28
Posts: 102
Website

field names and terms not showing up

Everything about the cart works fine, at least everything I have tested to date. But when adding things to the cart, the field names do not show up. The options for each attribute do, but not the attribute name itself. Also on checkout, when I click the terms and conditions link, a window opens, but the text does not show.

TIA
Jon
hummingbirdphotographics.com

Offline

#2 2015-03-08 12:39:42

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: field names and terms not showing up

it's all there, it's just that the text color and the background color are the same.

If I recall, the text color is taken from the gallery itself (or Pages, if using the Shared Resources feature) but the background is baked into the Add to Cart pop-up. You could try a different text color for the gallery or change the background of the Add to Cart box

Ben and Matt would know best, but the only way I know how to change the background color is with custom css via phplugins

#modal {
background-color: #333;  
}

use whatever css color you need in place of #333


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-03-08 13:57:33

Jon
Member
From: Alberta, Canada
Registered: 2012-09-28
Posts: 102
Website

Re: field names and terms not showing up

umm. okay.

I turned on the custom.css reference in phplugins. Then I added the code to the custom.css file, changing the color to black. That didn't work.

Then I delved in the the cart folder and found the modal.css file there and added it to that file. But that didn't work either.

So I guess I need more direction on what to do with the code. I'm probably missing something completely obvious. I am not a stranger to coding, although far from proficient.

TIA.

Jon

Offline

#4 2015-03-08 15:07:03

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: field names and terms not showing up

try this then:

.mfp-content #modal {
    background-color: #333;
}

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2015-03-09 04:15:38

Jon
Member
From: Alberta, Canada
Registered: 2012-09-28
Posts: 102
Website

Re: field names and terms not showing up

Great. That worked. Thanks Rod.

Jon
hummingbirdphotographics.com

Offline

#6 2015-04-26 14:20:00

noelb
Member
From: Melbourne Australia
Registered: 2012-11-20
Posts: 7

Re: field names and terms not showing up

I tried doing the above in response to a similar query (thanks for the response Rod) but I am still in the dark.

Which particular css file is the correct one to modify and does one need to put the additional lines of code in a specific place?

Cheers NoelB

Offline

#7 2015-04-26 14:48:26

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: field names and terms not showing up

You need to do this with custom CSS via phplugins
http://ce4.theturninggate.net/docs/doku … custom_css


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2015-05-18 11:56:01

divinemayhemstudios
Member
Registered: 2013-06-27
Posts: 62

Re: field names and terms not showing up

I will apologize in advance, but it still appears as though the name of the EXACT file and location have been omitted from this post.

There are several modal.css files in the cart folder.. (One in \cart\lib\css and one in \cart\resources\css). Adding the line

.mfp-content #modal {
    background-color: #333;
}

To both of them didn't seem to do it for me. I also enabled custom css (or at least I think that I did) by removing the:

/* DELETE THIS LINE

and:

DELETE THIS LINE */

from the cart's template in \ttg-be\templates\gallery\cart-default\phplugins-sample\css\custom.css

What am I missing?

Thanks!

Offline

#9 2015-05-18 12:08:31

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: field names and terms not showing up

you need to enable phplugins for the site:
http://ce4.theturninggate.net/docs/doku … _phplugins

and then add the css to the custom.css file in the /phplugins/css/custom.css file, not to any of the css files created by the plug-ins or included in the cart folder.

your phplugins/ folder should be in the root of the site

and if things still don't work, be sure to include links so we'll have something to take a look at


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2015-05-18 12:14:14

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: field names and terms not showing up

and make sure you've enabled phplugins in your gallery or gallery template and have included the server path to phplugins (instructions on getting that are in the link above)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2015-05-18 13:04:50

divinemayhemstudios
Member
Registered: 2013-06-27
Posts: 62

Re: field names and terms not showing up

All working now.. Much appreciated!

Offline

Board footer

Powered by FluxBB