Spotify embed: How to change size?
-
Name: David D. Robbins Jr.
Blog: http://theirbatedbreath.wordpress.comI’ve asked this question before but to no avail. I thought it had been long enough since I first asked, that I would try again and see if there is a definitive answer yet. Spotify has a feature that creates a short code fort embeds. WordPress.com also shows how to do it here: http://en.support.wordpress.com/audio/spotify/ Okay, I’ve done that and it works perfectly. However, I’m wondering if anyone has found a way to change the height and width of the embed — AND/OR if anyone has found a way to change it from the default centering to left or right align? Thanks in advance. Happy blogging!
The blog I need help with is: (visible only to logged in users)
-
-
Hi justpi! Thanks for the response. More than likely, with text wrap. It’s cool that we can embed these Spotify players, but I just wish I could make it look a bit better with my column widths. But maybe that will come with time. Best wishes!
-
You’re welcome.
For a left-aligned player, you can use this code:<div style="float:left;margin-right:14px;"> SPOTIFY SHORTCODE HERE </div>Change the 14 to adjust the space between player and text.
(Obviously, for a right-aligned player you’ll use float:right and margin-left.) -
- The topic ‘Spotify embed: How to change size?’ is closed to new replies.