Solved

How to change background color for items on webapge

Posted on 2014-10-13
1
107 Views
Last Modified: 2014-10-13
I am just tying to change the background colors for the sticky posts on this page: Newgoloka.com. That is, the first two posts on the left.

I have tried adding style info to the "sticky" section of the style.css, but it gets overridden.
0
Comment
Question by:Jeff swicegood
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40378603
Not sure which first two you mean

CSS
#post-listing article.sticky:nth-child(-n+2) {
    background: green;
}

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now