2 replies [Last post]
Jimpeeters
Jimpeeters's picture
Offline
newbie
Last seen: 8 years 38 weeks ago
Timezone: GMT+2
Joined: 2014-05-16
Posts: 1
Points: 2

Hi evryone this is my first post on this site Smile

i am now busy making my website responsive but i come across a lot of problems and this is one of them :

in my original css i have this line of code:

.nav li:first-child {
list-style: none;
}

now in my @media element i wanna eliminate this property so that this element is back and i tried this :

@media (max-width: 940px) {

.nav li:first-child {
list-style: url("../images/listimage.png"); /* becaus i have this image as liststyle in my other elements */
}

but it doesn't work , if this isn't enough information to solve the question please tell me , i will post screenshots if nescessary

helldog2004
helldog2004's picture
Offline
Enthusiast
Netherlands
Last seen: 6 years 27 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2014-03-02
Posts: 205
Points: 239

Well if you want to use an

Well if you want to use an image this is the proper code:
list-style-image:url('http://wwww.your link.com');

Hope this helps Smile

Check Maximum Webdesign for your online solutions

markangle
markangle's picture
Offline
newbie
karachi
Last seen: 8 years 38 weeks ago
karachi
Timezone: GMT+5
Joined: 2014-05-16
Posts: 1
Points: 1

helldog2004 wrote: Well if

helldog2004 wrote:

Well if you want to use an image this is the proper code:
list-style-image:url('http://wwww.your link.com');

Hope this helps Smile

it will surely help he is right