PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
aeroskyn
Hangin' Around


Joined: Mar 08, 2011
Posts: 37
Location: 29.8N 81.9W

PostPosted: Sat Sep 03, 2011 12:36 am Reply with quote Back to top

I tried searching for info on this, but didn't find what I needed. If I missed it, I hope someone will steer me in the right direction.

When I first started using RN, I used a different theme (which was easier to adjust sizes), downloaded elsewhere, but, eventually changed to one included with the original RN download. At that time, I cheated with the banner picture, i.e., I found the location of the installed banner picture (logo.gif) and renamed it and uploaded my picture and gave it the same same name, 'logo.gif'. It worked with the RavenIce theme, to an extent, but it wasn't centered. I could have just created a larger banner picture to make it fit the theme dimensions. I couldn't find where to center it or make the theme not as wide. RavenIce did not offer a config.php file inside the theme folder.

What I would like to do at this point is add another picture to fill the void left in the banner area. What I need is for someone to tell me where the code for that is to modify...what file name. Somewhere, I know it is calling for 'logo.gif' and I want to add a logo2.gif to sit beside it. And is it just a simple matter to add logo2 after logo1? I will probably need some code help to make that work, if not. Hopefully, I have made my issue clear to understand.

The site in question, is the one associated with my account, if you need to see it. Any assistance will be greatly appreciated.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sat Sep 03, 2011 7:14 am Reply with quote Back to top

In the RavenIce theme.php function themeheader(), the logo image is coded in. The RavenIce/style.style.css is where the positioning is controlled. It is using the head_content id for the image.

Code:
#head_content {
  width: auto;
  float: left;
  padding: 8px;
}

#head_content img {
  margin: 10px 4px 10px 14px;
  padding: 0;
}


The image is 352x50. If you use a different size image, you will need to adjust the margin to make it fit correctly. If you want to center the logo, you would need to change the head_content to something like this:

Code:

#head_content {
  width: 352px;
  margin: auto;
  padding: 8px;
}


Be sure that the width is the correct width for the image you are using.
View user's profile Send private message Send e-mail Visit poster's website
aeroskyn
Hangin' Around


Joined: Mar 08, 2011
Posts: 37
Location: 29.8N 81.9W

PostPosted: Sat Sep 03, 2011 3:54 pm Reply with quote Back to top

Thanks for the quick reply, Nuken. That is good info. Now, can you tell me where the picture (logo.gif)is called into play (what file), I want to add another picture (logo2.gif), next to it, that will fill the void left by using the smaller picture, in the first place.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sat Sep 03, 2011 4:16 pm Reply with quote Back to top

The RavenIce theme.php in the function themeheader().
View user's profile Send private message Send e-mail Visit poster's website
aeroskyn
Hangin' Around


Joined: Mar 08, 2011
Posts: 37
Location: 29.8N 81.9W

PostPosted: Sat Sep 03, 2011 5:18 pm Reply with quote Back to top

That's what I needed....was there, just didn't see it. Thanks a lot, nuken. RavenNuke rocks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum