I am trying to apply it to the whole website, It just doesn't seem to be working...
I tried targeting the body, the container div basically everything I can think of and still haven't had any luck.
If there is any other way to achieve this effect I am all ears.
Just tried that, still no luck. Damn this is annoying, probably something so stupid to. Is there anything that would cancel this out or stop it working correctly?
Would the fact that the script @Paulie_D pointed out (jquery.fancybox-media) be causing an issue because it was missing an extension? Not sure if it might have held a necessary component to the date holder? Probably not, but I figured it was worth pointing out.
Yeah, I noticed that too...but, as I said, I didn't want to pile on too hard.
I may have deleted that line after deleting the other scripts and perhaps Codepen hadn't caught up before redrawing the page.
I'm hoping that what is written on the actual page is actually a lesson plan still to come because if it's stuff they've already covered I'm foreseeing an 'F' coming down the pike.
Hey guys having a bit of a problem I cant seem to get
to work at all on a site I am working on is there any reasons why this wouldn't work?
Thanks, Luke.
What element are you applying it to, it won't work on it's own?
I am trying to apply it to the whole website, It just doesn't seem to be working... I tried targeting the body, the container div basically everything I can think of and still haven't had any luck.
If there is any other way to achieve this effect I am all ears.
Interesting...it works in Codepen without targeting an element...I'm not sure that is proper behaviour but whatever.
You could try the universal selector
Otherwise, I'm wondering if it isn't a browser issue.
Perhaps you could put something in Codepen so we see what the issue might be?
Just tried that, still no luck. Damn this is annoying, probably something so stupid to. Is there anything that would cancel this out or stop it working correctly?
We can't tell until we see the site in question. It could be something fundamental or something in a css setting that is overriding it.
Here is the sites CSS, yes I am a noob still.
Thanks for your help so far by the way, very much appreciated.
according to MDN doc's its normal behavior without targeting elements, what browser are you using @luke ?
Unfortunately, the CSS alone won't help. We need to to see the content as well, that's why I suggested Codepen so we can see it in action.
Unless you have a link to a live site of course.
@ToxicFire Hey man thanks for the input, I am using chrome and Firefox to test this atm.
http://codepen.io/anon/pen/ebuGC
how about that @Paulie_D sorry never used codepen before.
I don't know why but if I take this out
a lot of the styling seems to start working where it wasn't before.
@Paulie_ D tried that there no still with no luck, damn this sucks.
Hmmm...there's definitely something overriding it.
I've tried stripping out the sections that shouldn't be relevant but it might take a while to find it.
Frankly, it's not a huge issue, there are quite a few other things that need fixing in that code first but that's another matter.
If I can, I 'll take another look.
Does this work for you? I added a pen of some code that I used.
I found the problem, your date holder JS is breaking the whole CSS styling. I deleted it and everything worked fine.
Aha...I knew it was a JS thing somewhere but I hadn't had time to track it down.
I didn't want to re-write the whole page (which it sadly needs) because if I started listing all the errors I would come off sounding mean...oh, oops!
Haha, that is funny but yeah I know what you mean. Poor beginner Luke. Will understand best practices eventually. It only takes years...
Would the fact that the script @Paulie_D pointed out (jquery.fancybox-media) be causing an issue because it was missing an extension? Not sure if it might have held a necessary component to the date holder? Probably not, but I figured it was worth pointing out.
Yeah, I noticed that too...but, as I said, I didn't want to pile on too hard.
I may have deleted that line after deleting the other scripts and perhaps Codepen hadn't caught up before redrawing the page.
I'm hoping that what is written on the actual page is actually a lesson plan still to come because if it's stuff they've already covered I'm foreseeing an 'F' coming down the pike.