Featured Content Gallery | WordPress Plugin | iePlexus

Center gallery

Downloading, installing, upgrading, and configuring the FCG plugin

Center gallery

PostBy m4oo on Tue Sep 06, 2011 1:46 pm

Hello,

I really need some help to center the gallery on my index page.
I almost tried everything, like adding this in css file:
Code: Select all
#featured
{
margin-left:40px;
}


but it's not really in the middle.

I also modified the gallery.php file:
Code: Select all
<div id="featured" align="center">


Event this didn't work :
Code: Select all
<div style="align:center"><?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?></div>



This is my website :
http://vivien-muller.fr

I'm not an expert in php/css files and I really don't know what to do !
m4oo
 
Posts: 5
Joined: Tue Sep 06, 2011 1:36 pm

Re: Center gallery

Thank you for using the Featured Content Gallery Forum
 

Re: Center

PostBy admin on Tue Sep 06, 2011 4:36 pm

try this:
in your style.css I found you had some adjustments for your div #featured,
so replace
Code: Select all
#featured
{
padding-top:20px;
padding-left:100px;
padding-right:100px;
}

with this
Code: Select all
#featured
{
width: 1024px ;
  margin-left: auto ;
  margin-right: auto ;
}
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4855
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Center

PostBy m4oo on Wed Sep 07, 2011 12:02 am

Thanks a lot, it's working !
m4oo
 
Posts: 5
Joined: Tue Sep 06, 2011 1:36 pm

Re: Center

PostBy admin on Wed Sep 07, 2011 6:16 am

yw
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4855
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Center gallery

PostBy m4oo on Wed Sep 07, 2011 8:16 am

Sorry to bother you again,
Now I'm trying to add a shadow behind the gallery with this :

Code: Select all
    #featured
    {
    padding:20px 0px 0px 23px;
    border : none;
    background: url(images/shadow.png) no-repeat top left;
    width: 1024px ;
      margin-left: auto ;
      margin-right: auto ;
    }


The shadow is hidden when the images from the gallery are loaded.
Any idea how could I fix this ?
m4oo
 
Posts: 5
Joined: Tue Sep 06, 2011 1:36 pm

Re: Center gallery

PostBy admin on Wed Sep 07, 2011 11:11 am

there is no image in url path for background
http://vivien-muller.fr/images/shadow.png
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4855
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Center gallery

PostBy m4oo on Wed Sep 07, 2011 1:34 pm

The url path is http://vivien-muller.fr/wp-content/themes/spotless/images/shadow.png
I just copied this code from my theme's css file, where the #featured is inserted.
Code: Select all
.entry img {
border : none;
padding: 0px 23px;
background: url(images/shadow.png) no-repeat top left;
}


You can see a part of this image behind the gallery on the top left corner. But something is hidding it on each side.
m4oo
 
Posts: 5
Joined: Tue Sep 06, 2011 1:36 pm

Re: Center gallery

PostBy admin on Wed Sep 07, 2011 1:55 pm

try it like this:
Code: Select all
#featured
    {
    padding:0px 0px 0px 23px;
    border : none;
    background: url(images/shadow.png) no-repeat top left;
    width: 1024px ;
    height:640px;
      margin-left: auto ;
      margin-right: auto ;
    }
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4855
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Center gallery

PostBy m4oo on Wed Sep 07, 2011 10:47 pm

Works perfectly, once again thanks a lot !
m4oo
 
Posts: 5
Joined: Tue Sep 06, 2011 1:36 pm

Re: Center gallery

PostBy admin on Thu Sep 08, 2011 6:33 am

yw
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4855
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA


Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests

cron