Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can't get Plugin to align left

Posted on 2014-03-17
6
Medium Priority
?
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
duttcom earned 1500 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
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.

 

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
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…
Suggested Courses

660 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