Post edited 5:54 am – February 4, 2010 by nkobayashi
Hello, first of all I want to say this is a great plugin! This is my favorite featured post plugin and I'm so happy you made this
Now.. this would be perfect if I could figure this out: how to center the gallery. I read through a couple similar posts about this question but I was never able to figure it out. I am using the WooTube theme and it aligns the gallery to the left (I have added <?php include (ABSPATH . '/wp-content/plugins/dynamic-content-gallery-plugin/dynamic-gallery.php'); ?> in the index.php after <?php get_header(); ?>). Am I suppose to put some kind of code in the style.css of the WooTheme? Is there an example I can see?
BTW I am using jQery instead of Mootools
8:23 am February 4, 2010
gregdowning
Los Angeles
Member
posts 3
2
I may not be a great webcoder, someone else can probably tell you how to do this w/ css. I just put the <center> command around where I inserted the php and it seams to have worked for me.
8:42 am February 4, 2010
Ade
Admin
posts 1229
3
Yes, gregdowning's suggestion will work. Alternatively, find the CSS for the div that the gallery sits in, and add this to its CSS:
margin:0 auto;
If you post your URL I can tell you if this will work or not.
Thanks guys! I added the center code (<center><?php include (ABSPATH . '/wp-content/plugins/dynamic-content-gallery-plugin/dynamic-gallery.php'); ?></center>) and it worked like a charm! I'm so happy now, thanks again!!
Developing plugins for the community represents a considerable investment of my time and energy. If you have found these plugins useful, please consider making a donation to help support future development. Your support will be much appreciated. Thank you!