Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
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

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.

_________________
Life is hard. Concrete is hard. Life is concrete. 
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: 2024
Location: North Carolina

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

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.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
aeroskyn







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

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.
 
nuken







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

The RavenIce theme.php in the function themeheader().
 
aeroskyn







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

That's what I needed....was there, just didn't see it. Thanks a lot, nuken. RavenNuke rocks!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©