PDA

View Full Version : And if you want to get rid of that offensively large, loud



Herbette Chapman - aged 15
04-14-2016, 07:10 PM
and totally unnecessary banner, just follow Doc's original instructions for stylish and add another rule

.body_wrapper table:first-child { display: none}

The banner is always the first table of the body_wrapper class d'ya see :cool:

Dr Headgear - Wannabe viking
04-14-2016, 07:34 PM
Congratulations Herbs. That seems to completely shut down the Quick Reply box, though I'm not sure why.

Herbette Chapman - aged 15
04-14-2016, 07:44 PM
Well this is a quick reply

Herbette Chapman - aged 15
04-14-2016, 07:48 PM
Anh here's one using Firefox - are you sure you've followed my very explicit instruction to the T Doc. You know you're a bit iffy when it comes to hard core CSS

Dr Headgear - Wannabe viking
04-14-2016, 07:58 PM
Did you write your quick reply in the Quick Reply box, which should be present before you click any "Reply" button?

I've fixed it anyway.


.body_wrapper table:first-of-type { display: none}
.cke_skin_kama .cke_editor {display: inline-table !important;}

The quick reply contains a table buried deep within multiple spans, which was being selected by both table:first-child and table:first-of-type

That's utterly wrong, but injecting styles into a page may **** with the cascade.
So I found the quick reply table and specified the correct style for it.
But the cascade was still ****ed, so I had to chuck in the !important.

It works.

Herbette Chapman - aged 15
04-14-2016, 08:08 PM
And the people we work for think even CSS is a piece 'o piss eh?

Dr Headgear - Wannabe viking
04-14-2016, 08:14 PM
I regard myself as a translator rather than a developer now.

I take the lavish PDF mock-up the marketing department commissioned and strip the custom fonts, multiple styles of heading and **** out, and translate it into some components the devs can understand.

And no, I DON'T ****ING CARE if you've used Arabesque Hairy Testicles New Gothic Sans Light, we're doing it in ****ing Arial/Helvetica.

Herbette Chapman - aged 15
04-14-2016, 08:34 PM
We've done extensive split testing* and there is a definite uplift in cart close with that font

*They're always basically lying and making it up - just scrutinize them

Dr Headgear - Wannabe viking
04-14-2016, 08:44 PM
It's worse than that, Herbs.
They're paying an agency for this ****. And it's just gloss. No understanding of the content, or the user interaction, and **** all in the way of actual specs, because they blew their wodge on the vision.

What happens when I click this button then?
I don't know.
Well what size should it be?
I don't know
What colour should it be?
Green, definitely green, unless it's red.
When should it be red?
I don't know.

The Jorge
04-14-2016, 10:09 PM
If you mess around with the tables you're gonna have a bad time.