Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add media= parameter to [bw_css] for easy @media queries #4

Open
bobbingwide opened this issue Nov 30, 2016 · 0 comments
Open

Add media= parameter to [bw_css] for easy @media queries #4

bobbingwide opened this issue Nov 30, 2016 · 0 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

I recently added some custom CSS to a page to style the output from [bw_related]
When I viewed it on my iPhone I found that the Cost field was overriding the title.
It was just too narrow.
The pragmatic solution was to alter the position of the Cost field for every display.
But I would have preferred to only have done this for narrow displays.
I would have used a CSS @media rule, if I could remember the syntax.
I thought that [bw_css] could help by allowing a media= parameter.
bw_css would wrap any content inside a @media query.

The default would be @media only screen and ( max-width: . valuepx ) {
when value is an integer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant