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

Related posts right after the content with two sidebars should have free height #1304

Closed
eri-trabiccolo opened this Issue Nov 15, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@eri-trabiccolo
Contributor

eri-trabiccolo commented Nov 15, 2017

It's like this at the moment:
wrong

Should be like this:
good

The easiest way to achieve that is by scoping some CSS rules:
https://github.com/presscustomizr/customizr/blob/v4.0.12/assets/front/scss/0_4_layout/_grid.scss#L953
should be
#content:not(.col-md-6) & section.entry-content__holder
as well as this
https://github.com/presscustomizr/customizr/blob/v4.0.12/assets/front/scss/0_4_layout/_grid.scss#L959
#content:not(.col-md-6) & .entry-content__wrapper

@eri-trabiccolo

This comment has been minimized.

Contributor

eri-trabiccolo commented Nov 22, 2017

My first way to scope the CSS rules was wrong because, of course, the rule #content:not(.col-md-6) & section.entry-content__holder would not apply to the related posts when outside the #content :D
Anyway, done.

@Nikeo

This comment has been minimized.

Contributor

Nikeo commented Nov 22, 2017

ok. fine thanks

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