Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2016-11-06 19:56:11

unisoul
Member
Registered: 2012-10-03
Posts: 22

CE2 - Add to Cart Icon not showing after chaning some settings in CSS.

I know its an old version of the Cart but i just wanted to check here as I know how finicky and tedious it can be to alter small bits of code to get the result.
So does anyone have any idea why the purchase button would stop showing up?
the URL is www.premsoul.com/galleries

I've run a Cart disgnostic and all is turning up fine...
Please help,

Thank you in advance.
Best regards,
Brendon

Offline

#2 2016-11-07 00:20:42

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

Re: CE2 - Add to Cart Icon not showing after chaning some settings in CSS.

is this the styling you added?

<div id = "information"style=float=right;padding-bottom:20px;padding-top:15px;50px;width:500px;position:absolute;center:20px;top:850px;>

If so, it's formatted wrong and contains incorrect code. The styling should be wrapped in quotes, a colon should follow "float", and you've got a rogue "50px;" in there:

style= "float:right; padding-bottom:20px; padding-top:15px; 50px; width:500px; position:absolute; center:20px; top:850px;"

So try cleaning that up first. Or get rid of it to see if your cart buttons return.

the page also contains some other html error, like this:

- mit PayPal moeglich.</font size = 1.8><br>

You can't add parameters in a closing tag.


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

Online

#3 2016-11-08 20:57:27

unisoul
Member
Registered: 2012-10-03
Posts: 22

Re: CE2 - Add to Cart Icon not showing after chaning some settings in CSS.

Thanks so much for your info Rod!
I did change something in this line of code when making alterations.
Changed it as you mentioned, but still have no cart button showing...
There might be something around line 339 that might not be working properly. All code below this is not showing up coloured as with the above lines of code. Does this mean an error somewhere in this HTML?

Otherwise could it be that the core-elements-canvas.css file which I altered could be causing this?

I appreciate it very much for your help!

Best regards,
Brendon

Offline

#4 2016-11-08 22:52:03

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

Re: CE2 - Add to Cart Icon not showing after chaning some settings in CSS.

line 339 in what file? The page source code looks ok

the page still has this:

<div id = "information"style= "float:right; padding-bottom:20px; padding-top:15px; 50px; width:500px; position:absolute; center:20px; top:950px;">

which is highlighted in red. But that may be due to lack of spaces between attributes. It also has that 50px; all by itself. But that doesn't seem to be the actual problem.

I also noticed that some images on that page just won't open. For example, this image doesn't appear to be there:
http://www.premsoul.com/galleries/photos/PSCC60g.jpg though the thumbnail is in the gallery.

You shouldn't be altering core files as they just get overwritten when exporting. Instead, if you need to change css, do it using custom css. There's a custom css file you can use at view-source:http://www.premsoul.com/galleries/resources/css/custom.css

Otherwise, I suggest undoing all the custom stuff you've done and getting things back into working order. Then start adding your customizing, one by one, until it breaks again.


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

Online

Board footer

Powered by FluxBB