Solved

Can't get Plugin to align left

Posted on 2014-03-17
6
211 Views
Last Modified: 2014-03-20
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
Comment
Question by:j0s3ph
  • 3
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
duttcom earned 500 total points
ID: 39936073
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
 
LVL 17

Expert Comment

by:nanharbison
ID: 39936674
Can you give us the URL so we can see this? It's much easier to come up with an answer for you.
0
 

Author Comment

by:j0s3ph
ID: 39936854
Thanks for the quick reply.  I will try that.  The URL is http://aznogi.com
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:j0s3ph
ID: 39937665
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
 

Author Comment

by:j0s3ph
ID: 39937883
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
 
LVL 17

Expert Comment

by:nanharbison
ID: 39938368
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

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

22 Experts available now in Live!

Get 1:1 Help Now