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

x
?
Solved

How can I center this slideshow...again?

Posted on 2013-12-07
7
Medium Priority
?
298 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
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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 define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
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…
Suggested Courses

916 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