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

Doubt about XL #6

Open
r-moon opened this issue May 3, 2016 · 5 comments
Open

Doubt about XL #6

r-moon opened this issue May 3, 2016 · 5 comments

Comments

@r-moon
Copy link

r-moon commented May 3, 2016

Hello, I am using your XL css in my home page and it is brilliant.

do you know if is there a way to get back to the standard bootstrap css classes in some pages without loading a new css file?

I am working in a personal site and I use XL class in home page but I do not want to use it in other pages, I have not been able to override the XL class and of course it shows very big.

Thank you!.

@GeorgeWL
Copy link

GeorgeWL commented May 3, 2016

If it behaves the same way as other bootstrap classes then simply putting in the other classes for each size of screen should work.

As in

Class="col-xs-6 col-sm-3 col-xl-4" 

Though I think you would still need to have both sets of css, I don't see what the problem with doing so is?

@r-moon
Copy link
Author

r-moon commented May 3, 2016

Thank you for your reply. Yes I do understand how it works.
Taking your line:
home page: Class="col-xs-6 col-sm-3 col-xl-4"
other page: Class="col-xs-6 col-sm-3 "

I was wondering if is there any way, from the same css, to use XL in some pages and not in others, without loading a new css file. I understand that it is impossible without it, although just asking in case there is a way to override XL to standard Bootstrap´s classes. I am still learning, thank you again for your reply.

@GeorgeWL
Copy link

GeorgeWL commented May 3, 2016

I don't see why you'd need to?

I would assume just copypasting the relevant css into the Base css file would do it though.

@marcvannieuwenhuijzen
Copy link
Owner

You can just not include the file on the other pages?

@GeorgeWL
Copy link

GeorgeWL commented Oct 3, 2016

php if statements, or even simpler, just don't link the file in some pages.

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

No branches or pull requests

3 participants