- Posts: 14
COMMUNITY FORUM
Positioning player horizontally
- JR
-
Topic Author
- Offline
- New Member
Less
More
9 years 2 months ago #150989
by JR
Positioning player horizontally was created by JR
Does AllVideos have a parameter that positions the audio player so that it appears on the left side of the page, as opposed to the center?
When I insert the player into an article using
{mp3}filename{/mp3}
the player appears centered horizontally.
I was able to move the player to the left using
<span style="float: left;"> {mp3}filename{/mp3} </span>
but I'd rather establish this globally, rather than have to insert it into every article. Possible?
Example: bit.ly/1OUzSzG
When I insert the player into an article using
{mp3}filename{/mp3}
the player appears centered horizontally.
I was able to move the player to the left using
<span style="float: left;"> {mp3}filename{/mp3} </span>
but I'd rather establish this globally, rather than have to insert it into every article. Possible?
Example: bit.ly/1OUzSzG
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 2 months ago #151006
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Positioning player horizontally
Hi,
There is no option for that, but you can apply your style globally using CSS:
You can add this code to any CSS file that gets loaded in your site.
There is no option for that, but you can apply your style globally using CSS:
.avPlayerWrapper { float: left;}
You can add this code to any CSS file that gets loaded in your site.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JR
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 14
9 years 2 months ago #151030
by JR
Replied by JR on topic Positioning player horizontally
Thanks, that works.
But, after I implemented it, elements below the player display to the right of the player.
I can push these elements down the page by inserting a bunch of <br /> tags. Is there CSS I can use with the player element that causes anything after it to appear on a new line (i.e., below the player rather than next to it)?
But, after I implemented it, elements below the player display to the right of the player.
I can push these elements down the page by inserting a bunch of <br /> tags. Is there CSS I can use with the player element that causes anything after it to appear on a new line (i.e., below the player rather than next to it)?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 2 months ago #151040
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Positioning player horizontally
You can force elements to display in a new line by using the display:block; CSS rule. I suggest to take some time to read the CSS basics. You can start from developer.mozilla.org/en-US/docs/Web/CSS/display .
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JR
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 14
9 years 2 months ago #151058
by JR
Replied by JR on topic Positioning player horizontally
I realize my question had more to do with CSS than the plugin. Thanks for indulging me.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 2 months ago #151063
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Positioning player horizontally
You are welcome.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.