How do I make story...
 
Notifications
Clear all

How do I make story text appear in a box or on its own bg?

5 Posts
3 Users
0 Reactions
1,684 Views
(@spookymulder)
Posts: 76
Trusted Member
Topic starter
 

I try to run the same color scheme through my entire site, which includes my old html site, my forum, and my new efiction install. However, story text and link lists appear directly on the page background, meaning I have to use a very light bg instead of the dark one I favor, with light tables and black text. So, now I have light gray bg and light gray blocks and I hate it. How can I get stories, category list, etc to show up on thier own bg/block?

I am very new to efiction and php in general. I learn pretty quickly and am not stupid, but I just don;t really know how to do this. I did manage to design the rest of the skin by pushing the big red button lol. Help?
http://spookamania.com/Quills/index.php


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 05/09/2007 7:53 pm
(@carissa)
Posts: 791
Member Moderator
 

If you want everything to appear on the dark background, them set your color on body{} and remove all the light background colors from your skin in the CSS. Or you can leave the colors in but change them to match the background.


 
Posted : 06/09/2007 10:50 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

I was going to suggest that you could try adding this to your css

#story { }
and add a different color (I don't know if it will work though).

But i see that you figured it out. How did you do it?


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 06/09/2007 7:35 pm
(@spookymulder)
Posts: 76
Trusted Member
Topic starter
 

in the elegance skin the story text appears on white instead of on the page bg. However, all links listed on a page, like categories, etc still show up on the pg bg so I had to make something that doesnt match my site at all, just so everything would be light colored. It looks nice, so I guess I dont mind having all white  skins.

Thanks for trying to help. I have accepted that running my site's color scheme through my efiction install will never work lol


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 08/09/2007 7:16 pm
(@spookymulder)
Posts: 76
Trusted Member
Topic starter
 

OK I figured it out. What I wanted to do, if you havent read the whole thread, was put the text/links such as the story itself, the chapter list, the category links, etc into a table so I could change the background to white (or whatever color.)

Here is the code I used in "view story.tpl." I just pasted in the table info and added the info that was already there into the cell.

<!-- START BLOCK : storyindexblock -->
     
<div align="left"><table width="94%" bgcolor="ffffff" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td class="c1">
<p><b>{chapternumber}. {title} </b>by {author} [{reviews} - {numreviews}] {ratingpics} ({wordcount} words)<br />
{chapternotes}{adminoptions}</p></td>
   </tr>
        </table>

<!-- END BLOCK : storyindexblock -->

The red text is the table. I'm sure you could use it anywhere in your scripts.

To see the results, the chapter list at the bottom of this page is what was affected: http://spookamania.com/Quills/viewstory.php?sid=4


Severus Snape: "I've never had any interest in being fair. Only in being honest."
~The Girl in the Tower By: SpookyMulder

www.spookamania.com

 
Posted : 11/09/2007 1:07 am
Share: