Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Can't get Plugin to align left

I have a Joomla 3 website at aznogi.com.  On the front page I've used a plugin to show a youtube link and the article is called "Martial Arts Classes".  I want to align all of the youtube links left but don't know how to override the auto alignment.  Let me know if you can help me figure out what I need to do to get around this.  Thanks.
0
j0s3ph
Asked:
j0s3ph
  • 3
  • 2
1 Solution
 
duttcomCommented:
In your template.css file on line 16, you have the following style which is making the video sit in the centre of the div that contains it -

.avPlayerWrapper {
    clear: both;
    display: block;
    text-align: center;
}

Try changing the text-align to left.
0
 
nanharbisonCommented:
Can you give us the URL so we can see this? It's much easier to come up with an answer for you.
0
 
j0s3phAuthor Commented:
Thanks for the quick reply.  I will try that.  The URL is http://aznogi.com
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
j0s3phAuthor Commented:
duttcom, which template.css did you find that in.  I tried the one under /templates/theme1356/css.  Let me know if that was the wrong one.  Thanks again
0
 
j0s3phAuthor Commented:
I had to change the code below in template.css in plugins/content/jw_allvideos/.  Changed the "auto" to left.

before
.avPlayerWrapper .avPlayerContainer {display:block;padding:0;margin:0 auto;}

after
.avPlayerWrapper .avPlayerContainer {display:block;padding:0;margin:0 left;}
0
 
nanharbisonCommented:
Duh, sorry, you had the URL in the original question, need more sleep here!

How about this? Notice the margin is negative.
#copyright {
    margin-left:-70px:
}
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now