Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Block Size Problem with block-G2_Sidebar.php

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
Morwaul

Beginner
Beginner


Joined: Aug 24, 2006
Posts: 2

PostPosted: Tue Jan 02, 2007 4:16 pm    Post subject: Block Size Problem with block-G2_Sidebar.php Reply with quote

Hello

I have a block size problem with block-G2_Sidebar.php. When I use this block the Right hand side is kicked out. I have tried moving the block to the left and right side of my page. Shrinking the image, removing the image, menus, etc. (In case they were "pushing" the side out) Nothing has fixed the problem. I have even used Firefox and IE 6.1 thinking it a Firefox problem. Here is what it looks like. You can go to www.thehighcommand.net to see it yourself. Any idea what I can do?



Thanks in advance!

Morwaul
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Block Size Problem with block-G2_Sidebar.php  

Back to top
jmaya

Beginner
Beginner


Joined: Dec 04, 2006
Posts: 3

PostPosted: Fri Jan 05, 2007 9:12 am    Post subject: Re: Block Size Problem with block-G2_Sidebar.php Reply with quote

i believe if the Block is using phpnuke you got edit the block-G2_ImageBlock.php and you will see size there you can change the thing
Back to top
Offline View user's profile Send private message
oldgrunt

Beginner
Beginner


Joined: Jan 01, 2007
Posts: 3

PostPosted: Sat Jan 06, 2007 5:43 pm    Post subject: Re: Block Size Problem with block-G2_Sidebar.php Reply with quote

I have the same problem and there is no way to set the size within block-G2_ImageBlock.php that I can see. My blocks are set to 165 pixels but this block sticks out.

The presence of a thumbnail (i.e.; Image Block shown or not) doesn't seem to matter.

Back to top
Offline View user's profile Send private message
oldgrunt

Beginner
Beginner


Joined: Jan 01, 2007
Posts: 3

PostPosted: Sat Jan 06, 2007 6:00 pm    Post subject: Re: Block Size Problem with block-G2_Sidebar.php Reply with quote

Never mind Embarassed

Morwaul,

Go to modules/gallery2(or whatever you named it)/themes/matrix(or whatever theme you are using) and open theme.css

At around line 118 you will see:
Code: › #gsSidebar {
    border-right-width: 1px;
    width: 175px;
    overflow: hidden;
}


Change it to:
Code: › #gsSidebar {
    border-right-width: 1px;
    width: 150px;
    overflow: hidden;
}


You want the width defined in theme.css to be smaller than your PHP-Nuke block width. PHP-Nuke will/should push the block out to it's defined width.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia