Solved

How can I center this slideshow...again?

Posted on 2013-12-07
7
283 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
[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
  • 5
7 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39703729
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
ID: 39703889
Strangely enough...

PTL
0
 

Author Comment

by:Donnie Walker
ID: 39703895
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
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:Donnie Walker
ID: 39703941
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
ID: 39703945
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
ID: 39706132
Got this answered in another thread:

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

It is now centered.
0
 

Author Closing Comment

by:Donnie Walker
ID: 39718503
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
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 corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

623 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