Created
June 17, 2016 17:18
-
-
Save noahub/a94682f485dd337a810eca679f71b1ae to your computer and use it in GitHub Desktop.
Make Element 100% width
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var e = jQuery('#lp-pom-text-120'); //Replace with your element ID | |
var a = jQuery('.lp-pom-root'); | |
e.css({'left':0, 'width':'100%', 'box-sizing':'border-box'}).prependTo(a); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment