Solved

How can I center this slideshow...again?

Posted on 2013-12-07
7
268 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

832 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