Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDan Neumann
Courses Plus Student 10,318 PointsInsert text before an audio player element using css
I have a wordpress site and an audio player in a widget. With css I want to add "Latest Message" before the audio player and inline with it. Using the pseudo before property I'm able to add "Latest Message" before the audio player but it's in the line before. The page I'm trying to do this on is here http://dlchurchwebsites.com/samples/sbcauburn/ and the site I'm trying to imitate is here http://www.northridgerochester.com/. Any suggestions?
1 Answer
Dan Neumann
Courses Plus Student 10,318 PointsI added this code and it worked:
featured-post-2 .mejs-container {
width: 600px !important;
display: inline-block;
margin: auto;
}
featured-post-2 .mejs-time-rail {
width: 400px;
}