Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
semperaye
Worker
Worker


Joined: Oct 31, 2011
Posts: 100
Location: North Carolina

PostPosted: Sat Feb 16, 2013 5:33 pm Reply with quote

I've figured out how to change header images, backgrounds and these types of things as its just a matter of replacing files and copying the dimensions, however, changing colors of sub-backgrounds and forum backgrounds and colors is VERY confusing. Is there a tutorial on this? Any tips?

-Thanx again!
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

PostPosted: Sat Feb 16, 2013 7:00 pm Reply with quote

The colors are in the themes style.css. Some also have a forums.css file. You will also find $bgcolor variables in the theme.php.

_________________
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
semperaye
PostPosted: Sun Feb 17, 2013 9:24 am Reply with quote

// END: Added in v2.40.00 - Mantis Issue 0001043

$bgcolor1 = '#4B288E';
$bgcolor2 = '#4B288E';
$bgcolor3 = '#4B288E';
$bgcolor4 = '#4B288E';
$textcolor1 = '#CCCCCC';
$textcolor2 = '#CCCCCC';

function themeheader() {


I was messing around with theme.php and tried changing background color from 330303 to what you see above to see if it would work...but no luck...I tried each one individually then all 1-4 at the same time & changing the fields doesn't do anything.

Is there a trick to this?
 
nuken
PostPosted: Sun Feb 17, 2013 9:32 am Reply with quote

The colors are set for some modules using the bgcolors, the style.css contains the other colors for the theme. Some images will also have to be changed. There is not one magic line to change. You will have to play around with the css and images to get the results you want.
 
semperaye
PostPosted: Sun Feb 17, 2013 10:02 am Reply with quote

Ya your right in the syle.css i found this:

#themecontainer{background-color:#18103F}

do u know how I can change the code to make it semi transparent?
 
nuken
PostPosted: Sun Feb 17, 2013 11:03 am Reply with quote

If you want it semi transparent, try this:

[code]
#themecontainer{
background: rgb(24,16, 63) transparent;
background: rgba(24,16, 63, 0.5);
}
[code]

The first is for IE, the second one should cover all other browsers.
 
semperaye
PostPosted: Sun Feb 17, 2013 1:16 pm Reply with quote

nuken wrote:
If you want it semi transparent, try this:

[code]
#themecontainer{
background: rgb(24,16, 63) transparent;
background: rgba(24,16, 63, 0.5);
}
[code]

The first is for IE, the second one should cover all other browsers.


haha it works! im so excited, i wonder if i can learn to do this type of thing at the tech school here in durham
 
nuken
PostPosted: Sun Feb 17, 2013 1:29 pm Reply with quote

There are plenty of resources online that can help.
Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login!
 
semperaye
PostPosted: Mon Feb 18, 2013 1:55 pm Reply with quote

Thanx for the help everything is coming along but I cant seem to find the fields that effect the color of the top menu background ( the background that is behind your selections..i did change the hover image though ). Also the back ground forums where you are typing a submission.

I ctrl F with the color codes to find the red color im looking to change but had no luck with those two zones. I'm thinking most of the forums are tied into the regular theme. BTW I'm editing CT_RN
 
semperaye
PostPosted: Mon Feb 18, 2013 2:08 pm Reply with quote

hmm is the index file in the images the one for menu background? I'll goof with it and see what happens...the forums are darker so must be something else
 
semperaye
PostPosted: Mon Feb 18, 2013 2:13 pm Reply with quote

I changed the index file color but it didnt' do anything
 
semperaye
PostPosted: Mon Feb 18, 2013 5:24 pm Reply with quote

td.row2, : that line has the forum color Smile only took me 4 hrs to find haha still looking for menuebackground though i'll be sure to post it when I find it
 
semperaye
PostPosted: Mon Feb 18, 2013 6:08 pm Reply with quote

nukeNAV!!!
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Tue Feb 19, 2013 12:17 pm Reply with quote

If you are using Firefox, install the developer plugin - you can used the web developer tool bar then to show you which CSS attributes a particular part of the web page is using when you click on it.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 ©