![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Hi, I'm encountering a baffling but frustrating problem.
I'm using Custom CSS and I always uncheck
just stops being rendered in the HTML.
Is there any way to put this back whenever I use custom CSS, without keeping
I'm using Custom CSS and I always uncheck
Use layout's stylesheet(s)
when styling layouts to avoid duplicating css. I've tried this on a few themes, and every time I do this, the meta tag for responsive mobile disappears.<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
just stops being rendered in the HTML.
Is there any way to put this back whenever I use custom CSS, without keeping
Use layout's stylesheet(s)
checked?
no subject
Date: 2019-01-04 12:44 am (UTC)no subject
Date: 2019-01-04 12:53 am (UTC)Yeah, I thought it was really bizzare.
no subject
Date: 2019-01-04 01:08 am (UTC)no subject
Date: 2019-01-04 01:39 am (UTC)I'll continue to use the base styles for now, but they're not compressed so it really doubles the bytes needed to load the CSS. I hope the team could look into it and add the viewport tag back. I'd like to contribute to the community by making good design accessible to more people. :)
no subject
Date: 2019-01-04 02:14 pm (UTC)You're welcome! The fix is pretty quick and I know we're hoping to do a code push soonish so as long as it doesn't make things go totally wonky, we're good. And to answer your pre-edit question - it's possible with a free account, but it's kind of fiddly and tedious, so unless you're really frustrated, or want to dig into more of the guts of the style system, I don't recommend it. I'd like to make it easier at some point, but I've got a few other big projects on my plate, so I'm not sure when it's going to happen.
no subject
Date: 2019-01-05 05:55 am (UTC)no subject
Date: 2019-01-04 09:18 am (UTC)More and more people use mobile phones to browse sites lately, so it's a bit of a downside when designing. But honestly, if it's not an easy task and one that anyone with a free account can do (even though I have paid time), then I'm off that boat hahaha. If I was a dev obviously I wouldn't, but being a hobby, it puts me off.
That being said, you all know so much and you rock. I'm just a coding baby even though I started back in 2006 hahaha. I admire you all ♥
no subject
Date: 2019-01-04 02:22 pm (UTC)I thiiiink you can add media query stuff in the custom CSS field? That can do a lot of the reflow stuff at different sizes (though I've learned the hard way that most mobile phones are like retina displays - the reported resolution is really high, but they translate multiple physical pixels into a single 'display' pixel). The viewport meta tag sets some basic scaling stuff for mobile browsers though, and right now it's not possible to add that without editing layers or leaving 'use layout stylesheet' checked - it's possible to use custom layers on a free account, but the system is kind of a fiddly pain in the butt so I don't recommend it unless you're interested in getting into the guts of the system
(that said, if you are, hit me up, I have resources!)
no subject
Date: 2019-01-04 06:29 pm (UTC)Which I just went in to make edits to the controlstrip on my personal layout for, actually-- were there already plans to revamp that to be more usable for mobile? (If not, I could try to take a stab at it-- I was thinking it might make more sense to convert it to a flyout menu, which would be familiar for modern website users.)
no subject
Date: 2019-01-07 05:54 pm (UTC)Good to know! I don't do DW on mobile much so I'm a little less aware of that stuff.
no subject
Date: 2019-01-07 09:22 pm (UTC)no subject
Date: 2019-01-04 10:45 am (UTC)no subject
Date: 2019-01-07 05:50 pm (UTC)Ooh, thanks for the additional details!