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

Responsive column settings for tablet portrait and landscape #418

Closed
wilthil opened this issue Aug 17, 2016 · 32 comments
Closed

Responsive column settings for tablet portrait and landscape #418

wilthil opened this issue Aug 17, 2016 · 32 comments
Labels
type/responsive Indicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.
Milestone

Comments

@wilthil
Copy link

wilthil commented Aug 17, 2016

I am missing more control over the responsive layout for columns. Why is there no settings for tablets?

Are there any hooks/filters we can use to set new breakpoints?

Also, is there a way to filter the default section width of 1140px, and also the default columns gap?

@yehudah
Copy link

yehudah commented Aug 17, 2016

Hi,

This are stuff we are working on and your comments will be considered.

Thanks

@arielk arielk added the type/responsive Indicates when a topic is related to Responsive Design, for tablet, mobile, and other screens. label Aug 17, 2016
@lunacroft
Copy link

Hey guys, do you estimate when these responsive adjusts will be launched?

@yehudah
Copy link

yehudah commented Aug 21, 2016

We getting a lot of feedback from the community and we do our best to include this comments in each release.

For now I don't have any estimate.

@andreaswilthil
Copy link

Great, thanks :-)

@arielk arielk added this to the 0.8 milestone Aug 30, 2016
@arielk arielk removed this from the 0.8.0 milestone Jan 23, 2017
@andrastudio
Copy link

Hi guys,
Is there any update on this feature?

@nicolasblume
Copy link

Nice to hear, that you are working on it. Keep up the great work!

@JoelEadeDesign
Copy link

I would love this feature as it's one of only a few of my bug-bears with Elementor. I have to apply CSS to work with some content in tablet mode, as more often than not the content is squashed.

@dax702
Copy link

dax702 commented Mar 27, 2017

I would like to have the option to have columns collapse and stack to 100% width in tablet mode, just as they do in mobile mode. Like Joel said, columns in tablet mode are usually squashed too much vertically.

@maya23
Copy link

maya23 commented Mar 28, 2017

The tablet view (or lack of) is my number one feature wish for Elementor. I really want to start using Elementor for client work, but I can't until this is sorted. Hope to see it in the next release. Thanks!

@Nicoduweb
Copy link

Nicoduweb commented Mar 28, 2017

I hope this option as a priority too, before all other things ....

Add this code to “$responsive_points” in “includes/elements/column.php” seems to do 90% of the job (then just need very little css change):

'screen_md' => [ 'title' => __( 'Tablet Width', 'elementor' ), 'class_prefix' => 'elementor-md-', 'classes' => '', 'description' => '', ],

elementor-tablet

@chalgerro
Copy link

Tablet view is a complete mess and there's very little a designer can do about it from the front end. In other words elementor as such is not suitable for commercial work. Please get this sorted.

@CobraClutch
Copy link

I would love this as well. I don't really understand why there is great responsive control for so many other attributes, but column widths are limited to mobile and desktop. Please add tablet breakpoint for columns!

@CobraClutch
Copy link

CobraClutch commented Mar 31, 2017

As @Nicoduweb pointed out, this is really easy to implement. In addition to what he added to includes/elements/column.php, you can add this to your CSS:

@media (max-width: 1024px) {
.elementor-row {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
}

Not sure if this will cause anything else to break, but it seems to be working fine for me so far. Shame that we have to edit core files for this though. 👎

@Nicoduweb
Copy link

Nicoduweb commented Apr 6, 2017

Agree with CobraClutch.

And it's really more easy to use full width container with this features too.
Because 100% width on talbet is not always readable as on wide screen

@pingram3541
Copy link
Contributor

pingram3541 commented Apr 19, 2017

I'd like to add my vote here as well. Additionally when setting container "content" width for sections it would be nice to set max-width value based on desktop, tablet and mobile rather than only desktop and then have to rely on padding/margin.

@nicolasblume
Copy link

We really need responsive widths of collumns for our site.

For example we want the split to be 33% - 66% on desktops and 50% - 50% on tablets, for the same section.

@MaskaZan
Copy link

+1

1 similar comment
@NailKhalimov
Copy link

+1

@Nicoduweb
Copy link

+1 ofcourse !
Elementor Devs : What is the problem with integrating this feature please ?

@Shomme
Copy link

Shomme commented Apr 25, 2017

+1

@damontribble
Copy link

I am using @Nicoduweb and @CobraClutch solution for this but definitely +1 on making this part of core. Beaver Builder has this out-of-the box and it makes things much easier.

@carasmo
Copy link
Contributor

carasmo commented Apr 29, 2017

+1 Very Important.

@Nicoduweb
Copy link

or at least let us tweak this by hook please.

@carasmo
Copy link
Contributor

carasmo commented May 1, 2017

I have a decent solution where you add a select dropdown and choose the stacking breakpoint from choices you create:

https://gist.github.com/carasmo/58fb8e5ea796ec56e8cb87f1f4fc2e38

@nicolasblume

For 33.33% and 50% at another viewport width, this is where the Custom CSS field comes in:

screen shot 2017-05-01 at 12 43 16 pm


@media (max-width: 900px) { 
	selector .elementor-col-33  {
	    width: 50%;
	}
}

@media (max-width: 500px) { 
	selector .elementor-col-33 {
	    width: 100%;
	}
}

@nicolasblume
Copy link

@carasmo thanks! But unfortunately I don't have Elementor Pro.
I guess this will not work, If I paste this code into my themes custom CSS?

Once again I wish that the developers add a native option one time.

@carasmo
Copy link
Contributor

carasmo commented May 1, 2017

You would add a custom class to the section in the advanced tab and use the class as the selector. Make sure the priority of your css is after all of elementor's css by using the elementor/frontend/after_enqueue_styles hook

However, if you are a user of Elementor, buy a Pro license. Keep them in business.

.my-custom-section-class .elementor-col-33 { ...

@Nicoduweb
Copy link

Nicoduweb commented May 9, 2017

Hello @ll,
I've done a plugin that seems to do the job transparently :)

Thank you @carasmo for your help your code inspired me.

elemntor-responve-tablet

You can find my plugin here :
https://fr.wordpress.org/plugins/mrt4e/

It can be improved ;)

ps : It seems no need to add custom css now.

EDIT : CSS IS REQUIRED

I'll push this plugin on wordpress asap

@AustinGil
Copy link

+1 for this feature.

As far as implementation, that was one of the few things Visual Composer did well. Their responsive column settings were set up so at each different break point you could either set a custom width, or adopt the same width as the breakpoint below. So mobile could be 100%, the next break point could be 50%. the next breakpoint up could be custom or adopt from the one before (50%), and on up the line. I felt like that was a simple and intuitive enough approach.

Any way you choose to go, this will be a very welcome feature :)

@Nicoduweb
Copy link

Hello all,

you can try my plugin here : https://fr.wordpress.org/plugins/mrt4e/#description

Have fun

@arielk
Copy link
Member

arielk commented Jun 20, 2017

@Nicoduweb please note that we're added a new responsive control for Column Width in the next version 1.5

You can learn more here: #1827 (comment)

Thank you all for your valuable feedback!

@arielk arielk closed this as completed Jun 20, 2017
@elementor elementor deleted a comment from hufer Dec 26, 2018
@redcelinc
Copy link

So on tablet responsive mode, a form looks horizontal and not sure why it wont stack?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/responsive Indicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.
Projects
None yet
Development

No branches or pull requests