News:

On Deck: Next is "Bluemoon" For SMF 2.1.4! ;)

 

Recent Topics

Members
Stats
  • Total Posts: 10,783
  • Total Topics: 1,380
  • Online today: 159
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 21
Total: 21

Turquoise (modified)

Started by multislacker, Feb 05, 13, 08:11:06 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

multislacker

Hello Crip!

As you know I am using a modified version of Turquoise and I'm wondering if the news feed is on there or hidden? I would like to put it above the header, but am not sure if that would require more coding than I know. Thanks for any help!  :smitten:

http://orchardofwisdom.com/forum/

Regards,
Multislacker

Crip

Hi , Hello -- ;)
I can add it in Theme , but no , it isn't added in Theme now ..
  • U want me to add it on your Site??
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

#2
Here is all the code you need added:
css/index.css..

/* NEWS */
#news {
clear: both;
position: absolute;
top: 0.5em;
left: 2em;
width: 50%;
text-align: left;
color: #FFFFFF;
font-size: 8pt;
}
#news a:link, #news a:visited {
color: white;
}
#news a:hover {
color: #A10E09;
}








indextemplate.php
// Show a random news item? (or you could pick one from news_lines...)
       if (!empty($settings['enable_news']))
   {
       echo '
           <div id="news">
           <b>', $txt['news'], ':</b> ', $context['random_news_line'], '
        </div>';
   }
       echo '

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

multislacker

Hey Crip,
I put the first set of code in the CSS (with some color and font size edits) but the second set confuses me. Should it just go at the bottom? I'm not much of a PHP person.

Thanks!
/multi

Crip

May I have a temp Admin Account?
..i can do it faster like that , than == I can try & tell you..Lol
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

multislacker

Already set  you up my friend. :-)

Thanks again for all your help. This is one of the nicest SMF themes (for non-geeks) that I've had the pleasure of being involved with. In case people don't tell you enough.. you're awesome!  O0 O0

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

multislacker


Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.