Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes
Author Message
ominae
Regular
Regular



Joined: Sep 16, 2008
Posts: 62

PostPosted: Wed Apr 18, 2012 2:11 am Reply with quote

Hi there peeps

I was wondering iff some one would be good enough to help me out a lill
i started work on a site for a friend using RavenNuke V2.20.01 he said
he dont like the new ones menus too muvh dunno whats wrong myself but hey

i have a theme called HiTech he likes (rather old one) i am trying to tweek
it up a lill i have been doin some work localy on my laptop but there is one
thing that has stumped me atm.

i have an image i want as the main bacground but this theme just has it as black
i am not sure where to add the code to make the black the wallpapper i was hoping some
one could help me out here.

theme DL link
Only registered users can see links on this board! Get registered or login!
wallpapper DL link
Only registered users can see links on this board! Get registered or login!

iff any one could help it would be grand

many thanx

mark
 
View user's profile Send private message Visit poster's website
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1775

PostPosted: Wed Apr 18, 2012 5:50 am Reply with quote

V2.20.01 is very old, use a newer version for security reason!
you can customize (override) the NukeNav with css.

your theme has many validation errors (347 errors & 2 warnings). the topiclist in the header of your theme use the old $dbi layer. i must comment out this s**t, to view the theme.

find $topics_list into theme.php:
Code:
//    $topics_list = "<select name=\"new_topic\" onChange='submit()'>\n";

//    $topics_list .= "<option value=\"\">All Topics</option>\n";
//    $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);
//    while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
//    if ($topicid==$topic) { $sel = "selected "; }


its better, you try an another theme! i recommend you the theme CT_RN or the new RickTido. both themes are tableless css themes. easy to edit and without so many errors. the HiTech theme ist very old and use old standards. not recommended.


but to your problem. you must edit the body class in the style.css into the style-folder.

search:
Code:
BODY {

   FONT-SIZE: 11px; BACKGROUND-ATTACHMENT: fixed; CURSOR: default; COLOR: #ffffff; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY:  arial, helvetica, verdana, sans-serif; TEXT-DECORATION: none
}


remove
Code:
BACKGROUND-ATTACHMENT: fixed; BACKGROUND-REPEAT: no-repeat;


added for no-repeat background:
Code:
background:url(../../../themes/HiTech/images/mainBG.jpg) no-repeat fixed top;  margin-top:300px;


or added for repeat background:
Code:
background:url(../../../themes/HiTech/images/mainBG.jpg) repeat-y center top; margin-top:300px;


in both versions you can see, your mainBG is failed. you can set no-repeat with fixed and you can make a fade in to a single color at the bottom of you mainBG. but if you use fullscreen with 1920 x 1080, then you have white spaces at the left and right side.

Smile
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes

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 ©