Solved

How can I center this slideshow...again?

Posted on 2013-12-07
7
266 Views
Last Modified: 2013-12-14
I have a site here:

www.particletechlabs.com

This is a Joomla 3.2 site and I recently upgraded the Gantry framework to v4.1.20.

After I did this my slideshow was no longer centered on the homepage.

Somehow the container for it has changed.

Below is the code I used but nothing I try works:

.slider-wrapper {overflow:hidden; width:1197px; height: 290px; margin:0 auto;}
.vt_nivo_slider {background:url(http://particletechlabs.com/templates/rt_panacea/images/slideback.png) repeat;}

Any help is appreciated.
0
Comment
Question by:Donnie Walker
  • 5
7 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
Slider wrapper properties have been overridden and I think you will have to hack it by putting the margin:auto inline in  the div with id "vtnivo110". The update just added more bloat and crap.  If you keep adding crap on top of crap, it will reach the point where you can no longer fix anything without it imploding. If move the margin:auto inline does not work, you might already be there.  That might be a good thing if it will force a re-write or re-design to something a little more efficient and maintainable.

Cd&
0
 
LVL 18

Expert Comment

by:Steven Harris
Comment Utility
Strangely enough...

PTL
0
 

Author Comment

by:Donnie Walker
Comment Utility
yes, I just did the display:inline Cobol suggested but it is still not right. There should be a gray background (slideback.png) that goes 100% across the screen.

Also, before I updated the framework the slide hit the top of the white content area and did not have the shadow it was now.

screenshot
0
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.

 

Author Comment

by:Donnie Walker
Comment Utility
and now it has automatically shrunk my image to 962x232.

the original is 1197x290.

no idea how that happened.
0
 

Author Comment

by:Donnie Walker
Comment Utility
changed display:inline to display:block and now the slider is the correct size.

however, for some reason, it will not go past the left side so it can be centered.
0
 

Accepted Solution

by:
Donnie Walker earned 0 total points
Comment Utility
Got this answered in another thread:

#vt_nivo_slider110 {margin-left: -118px;}

It is now centered.
0
 

Author Closing Comment

by:Donnie Walker
Comment Utility
Got this answered in another thread:

http://www.experts-exchange.com/Software/Server_Software/Content_Management/WebBased_CMS/Joomla/Q_28313564.html

#vt_nivo_slider110 {margin-left: -118px;}

It is now centered.
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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

771 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

11 Experts available now in Live!

Get 1:1 Help Now