Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Centering a gallery or slideshow with NextGen


  #1  
Old Mar 22, 2012, 11:21 AM
yukoner
 
48 posts · Jan 2012
I've spent a couple of days now trying to figure out how to get a slideshow from NextGen Gallery to center on the center column to no avail.

Thus, I am asking for your assistance.

If I use the simple <center>[slideshow id=1 w=600 h=400]</center> it works in the browsers I have tried it in but I keep reading that it's not a good idea to use this for centering.

Anyone have a better solution?

Norm
  #2  
Old Mar 22, 2012, 11:57 AM
juggledad's Avatar
juggledad
 
23,536 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
nextgen has it's own CSS styling. You should look at the source of the page and find the gallery. Look for an ID or class that you can use and add a CSS to center it. (FireBug in FireFox)
Here is a link where you can read and test aligning block elements http://www.w3schools.com/css/css_align.asp
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 29, 2012, 07:18 AM
cabdziner
 
17 posts · Feb 2011
Try this...

Determine the width of your slideshow, then create a "div" and enclose the NGG shortcode inside of it.

Code:
<div style="width:350px; margin:0 auto;">
[slideshow id="x"]
</div>
Change the width to whatever works best with your slideshow image size.

This should work.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nextgen slideshow displays only whitebox horsemansarts Plugins & Atahualpa 6 Mar 13, 2010 07:49 AM
creating 2 separate boxes in header, for logo and nextgen slideshow gallery rinoa3108 Header configuration & styling 8 Mar 8, 2010 05:19 PM


All times are GMT -6. The time now is 08:35 AM.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.