Issue #1823Opened February 21, 2019by abozhinov0 reactions

[QUESTIONS] How to set different styles on one element for each device. (responsive)

Question

@arthuralmeidap can you tell guide me how to set style different style for each device. I use the mobile-first strategy.

For example to set a different background on mobile and desktop devices.

mediaCondition: 'min-width',

var deviceManagerConfig = { devices: [ { name: 'Desktop', width: '', widthMedia:'768px' },

Code SnippetTEXT
{
					name: 'Tablet',
					width: '768px',
					widthMedia:'320px'
				},
				{
					name: 'Mobile',
					width: '320px',
					widthMedia:'0px'
				}
			]
		};

Answers (3)

umerrinayatDecember 6, 20190 reactions

@abozhinov I'm facing the same issue. If you solved the issue? Can you share it here. Thanks

theSC0RPOctober 21, 20200 reactions

@abozhinov @umerrinayat I am facing the same issue. If you have solved it, can you please share it here?

abozhinovOctober 21, 20200 reactions

No I didn’t. Still search for solution.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.