-
AuthorPosts
-
April 21, 2014 at 1:30 pm #35609
Hi, I need to find a way to disable @media css rules on some pages.
I made a custom landing page, from a BLANK page, and another version for mobile devices.
The first LP doesn’t look good when columns are in one grid.
Is it doable from the page custom css field? and how?Cheers
April 21, 2014 at 11:12 pm #35773Hi there!
Thank you for using the theme!
It is possible but we’ll need to inspect the actual website in order to help you with it. Can you please provide the website url and the screenshot of how you want the columns to look like on smaller screens? We’ll be happy to assist you further with this.
Cheers!
April 22, 2014 at 2:01 am #35858This reply has been marked as private.April 22, 2014 at 11:11 am #35982Hi Vadi4ek S,
We can help with small CSS tweaks, such as a page needing to display slightly differently.
However, X is built from the ground up to be responsive. There’s a whole lot more than media queries in play. Much of the responsive design can be done without media queries by using a combination of
min-width
/max-width
properties and percentage based dimensions.I’m afraid there isn’t a way to make X non-responsive unless you rewrite a good deal of CSS.
This isn’t something within the scope of support, but I can give a bit of advice. You could modify the SCSS files included with the theme, then compile them into a new CSS file. Then there are ways to load an alternate stylesheet depending on the page. If you’re ok with rewriting the CSS, we could help you with loading an alternate stylesheet per page. It’s quite an undertaking though, and I wouldn’t recommend it because of how X will continue to grow and change from one version to the next.
April 25, 2014 at 3:46 pm #37263First of all, You right, I don’t wont to customize core files.
I am ok with the fluid %% css.
I just need the “alignment” attributes not to change to “none” etc when the screen is smaller.
Are you %100 sure it’s not possible throw the page custom CSS field?
Cheers
April 25, 2014 at 11:06 pm #37389Hi!
Thank you for the info.
Can you please provide a screenshot of the elements that you want to change or prevent from changing from media queries? We visited the website but we’re not so sure where to start.
Cheers!
April 26, 2014 at 1:54 pm #37489Thank you guys,
I am talking about any columns element like 1/2 + 1/2 etc. Not to jump one under another, but always stay in raw.April 27, 2014 at 12:29 am #37619Hey there,
In the Customizer > Custom > CSS, please add the code below.
@media (max-width: 767px) { .x-column.one-half, .x-column.one-third, .x-column.two-thirds, .x-column.one-fourth, .x-column.three-fourths, .x-column.one-fifth, .x-column.two-fifths, .x-column.three-fifths, .x-column.four-fifths, .x-column.one-sixth, .x-column.five-sixths { float: right; } }
Then, manually set the width of your column like what you did here.
Hope that helps. 🙂
April 27, 2014 at 1:20 pm #37709Excellent!
Thank you guys!April 27, 2014 at 11:14 pm #37851Glad we could help. If you have any questions, let us know.
-
AuthorPosts