Find Jobs
Hire Freelancers

javascript sets divs to style.width = 50%

$30-250 USD

Ukończony
Opublikowano prawie 10 lat temu

$30-250 USD

Płatne przy odbiorze
Write a Javascript for a Wordpress blog, triggered by [login to view URL] or [login to view URL], and is re-triggered whenever the [login to view URL] that finds all divs with classes "myBigQuote" and "myBigQuoteRight", and sets their DOM property [login to view URL] to 100% if the window is narrower than 400 pixels, and sets to width 50% if the window is wider than 399px. Please do not tell me to use CSS3 and @media! The situation is that my Wordpress responsive theme is Genesis + Dynamik Website builder, has responsive settings with @media steps that set all divs to width=100% when window width is 1100px or less. I chose to leave these as-is. Instead, for a just few graphic elements like <div class="myBigQuote" style="width:50%">Hello World</div> You see I am manually setting a style of width:50%, which over-rides the @media. Now I need the javascript to adjust those style="width:50%". Here is my class myBigQuote, which deliberately doesn't use width:50%, because it gets overridden by @media statements anyway. .myBigQuote { font-family: 'PT Sans', 'sans-serif'; font-weight:400; font-size: 2.5em; /* this size gets changed by @media statements at the bottom of this file. */ line-height: 1.25; font-style: italic; letter-spacing: 1px; text-shadow: 2px 2px 6px #A3A3A3; padding-right:10px; position: relative; float:left; } I tried putting my own series of @media statements setting the widths, but the Genesis+Dynamik CSS are taking priority.
Identyfikator projektu: 6197105

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 10 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
Hello, I'm a UK based Web Developer and I'm ready to start working for you now. This should take less than 1hr give or take.
$35 USD w 1 dzień
5,0 (9 opinii)
3,7
3,7
4 freelancerzy składają oferty o średniej wysokości $125 USD dla tej pracy
Awatar Użytkownika
A proposal has not yet been provided
$161 USD w 4 dni
4,9 (15 opinii)
5,2
5,2
Awatar Użytkownika
have gone through with the requirement and we can start this project as soon as possible because we have a team of 34 people and have more then 11 year of exp. expertise in php/mysql and their MVC frameworks like laravel-4,symfony-2,cakephp,html,html-5,bootstrap, etc,
$150 USD w 5 dni
1,7 (17 opinii)
6,5
6,5

O kliencie

Flaga CANADA
Edmonton, Canada
5,0
175
Zweryfikowana metoda płatności
Członek od gru 3, 2009

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.