Advertisement:

Author Topic: 2.0 Sunset  (Read 47033 times)

Offline justjim

  • Semi-Newbie
  • *
  • Posts: 60
    • SpywareHammer.com
Re: 2.0 Sunset
« Reply #80 on: May 04, 2012, 05:49:25 PM »
Chadon

Very nice theme.
Could you direct me to the right section in the style.css sheet (or other file) to change the font color in the header? I.E. where is says "Welcome, guest login, etc.

Thank you

Offline ForumMustang.com

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
  • SMF French Translator
    • Franadata on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #81 on: May 04, 2012, 08:02:27 PM »
Hi Justjim and thank you for the compliment.

Near the end of the style.css file you will see the code needed for everything in the header under ".top".

The page and forum title is within this code:
Code: [Select]
.top h1 {    color: #F0FFF0;

and the "welcome, guest login, etc" is below the previous code:

Code: [Select]
.top p {    color: #C0C0C0;

Offline eafshar

  • Newbie
  • *
  • Posts: 3
Re: 2.0 Sunset
« Reply #82 on: July 01, 2012, 04:57:11 AM »
Hi!  this is by far the best template i have found so far.. could yo please help me change the background color and add a repeating image instead. i am refering to the background image of all the pages which is currently black.  And also where the link to the sunset image is located for when i want to change it.

many MANY THANKS!

Offline ForumMustang.com

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
  • SMF French Translator
    • Franadata on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #83 on: July 01, 2012, 09:41:42 AM »
Hi Eafshar, thank you for the compliment. :)

To modify the background you can modify the style.css file located in the sunset folder.

At the begining of the file find the following code:

Code: [Select]
body {background : #000000;}
and replace it with:

Code: [Select]
body
 {
 background-image:url('images/name-of-image.jpg');
 background-color:#000000;
 }

You will have to replace name-of-image.jpg by the name of the file by the one you want to use and upload this file in the /themes/sunset/images folder of your forum.
The background color #000000 is for a black color but you can replace it with a valid hml color code and find it in websites like the following ones:
http://www.google.com/search?q=html+color+codes

To replace the sunset image in the header you will have to name the file you want to use "titlebg.jpg" and place it in the images folder of the sunset theme or replace titlebg.jpg with the name of your image in the following code located at the end of the style.css file:

Code: [Select]
.top
{
    background: url(images/titlebg.jpg) #E9F0F6 repeat-x;
}

I haven't tested the codes I'm giving you so if you have any trouble, let me know and I will look deeper into this.  ;)

Offline eafshar

  • Newbie
  • *
  • Posts: 3
Re: 2.0 Sunset
« Reply #84 on: July 01, 2012, 06:50:54 PM »
Thank you Chadon!

i used

body
{
   background-image: url('images/pattern_1.jpg');
   background-repeat: repeat;
}

and

deleted the .topr background as i wanted to have the same background as the rest of the site.

It is working very well!  However i am also interested in changing the width of the top banner
check hxxp:consciousnesscentre.ca/forum/ [nonactive] .   please direct me as to where the width of the top banner is controled.  Thank you!

Offline ForumMustang.com

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
  • SMF French Translator
    • Franadata on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #85 on: July 01, 2012, 07:31:42 PM »
It's looking good.  :)

The width of the banner can be changed in index.template.php file.

Find:
Code: [Select]
<td valign="middle" height="261" align="left">
and add a value or a percentage for the width like this:

Code: [Select]
<td valign="middle" height="261"  width="70%" align="left">
and:
Code: [Select]
<td valign="middle" align="right">can become:
Code: [Select]
<td valign="middle"   width="30%" align="right">

Offline eafshar

  • Newbie
  • *
  • Posts: 3
Re: 2.0 Sunset
« Reply #86 on: July 01, 2012, 10:25:37 PM »
i actually want to change the height  (sorry for saying width, i wasn't thinking)  and make the top banner narrower. i tried to reduce the value for height from 261 but it didnt work. 

Offline ForumMustang.com

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
  • SMF French Translator
    • Franadata on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #87 on: July 02, 2012, 06:01:01 AM »
There is no value set for the height of the image, the 261 value is the height of the header.

The easiest way would be to modify the height of the image with a software like, Photoshop or Gimp or you can modify the index.template.php file to find:

Code: [Select]
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['page_title'] != "$context[forum_name] - Index" ? "$context[forum_name] - " : '', $context['page_title'], '" />
and replace it with:

Code: [Select]
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" height="X" width="Y" alt="', $context['page_title'] != "$context[forum_name] - Index" ? "$context[forum_name] - " : '', $context['page_title'], '" />

Offline rlake

  • Newbie
  • *
  • Posts: 4
Re: 2.0 Sunset
« Reply #88 on: May 07, 2013, 01:19:06 AM »
I just wanted to say thanks for this theme. You did an awesome job on it and I think it will fit my site well.

I have a question for you. When I put my logo on it, I had a hard time reading the text. Well I edited it and changed the font color and made the font bigger. Now I want to shorten some of the text, since it is bigger, so it looks better. I got everything pretty much cut down to size but I am having a hard time with the part that tells you if you have PM's. I want to change where it says,"Hey, User , you have 9 messages, 0 are new" to "Hey User , you have 0 new messages". I edited the index.template.php file and got it down to where it now says, "Hey, User , you have 0 are new". My problem is that all the test is stored in global variables and I don't know where to find them at. The variable for "Hey," is $txt['hello_member'] and the variable for "are new" I think is stored in $txt['newmessages0'] and/or $txt['newmessages1'].

Thanks for any help you can give me.
rlake

Offline rlake

  • Newbie
  • *
  • Posts: 4
Re: 2.0 Sunset
« Reply #89 on: May 12, 2013, 07:25:46 PM »
Just as an update. I found what variable said what, and just replaced them with what I wanted.

Thanks again for the theme, it is very nice.
rlake

Offline debiwebi

  • Jr. Member
  • **
  • Posts: 142
    • for Seth and Jane Roberts Fans
2.0 Sunset - Switch main navi from graphics to text links
« Reply #90 on: November 24, 2015, 08:27:16 PM »
Hopefully this is the right place to ask a question, I see it's been a couple of years since anyone has posted here.

I've been using 2.0 Sunset for almost a year now and still really love it. I redid the graphics for the navigation, but am now thinking I'd like to just go with plain text rather than graphics for the main navigation, because I may want to add a mod (or two) that could affect those links.  http://speakingofseth.com/

Is this something you can tell me how to do? I'm not a coder, but can fumble my way around enough to get by.

Thanks.

Some mornings it just isn't worth
chewing through the leather straps.
~Emo

Unlimited Own Posts Editing Time

Offline ForumMustang.com

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
  • SMF French Translator
    • Franadata on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #91 on: November 24, 2015, 11:05:28 PM »
Hi

All depends what you want to do. If you only want to delete the background image, you have to edit the file Themes/sunset-2-0-1-5/style.css

Find the following code:

Code: [Select]
.top
{
background-color: #FFFFFF;
background-image: url(images/titlebg.jpg);
background-repeat: no-repeat;
}

and replace with:

Code: [Select]
.top
{
background-color: #FFFFFF;
background-repeat: no-repeat;
}

You will also need to change the white background #FFFFFF with the color of your choice.
http://www.w3schools.com/html/html_colors.asp

Let me know if you need more help.

Offline debiwebi

  • Jr. Member
  • **
  • Posts: 142
    • for Seth and Jane Roberts Fans
Re: 2.0 Sunset
« Reply #92 on: November 25, 2015, 12:15:00 AM »
All depends what you want to do. If you only want to delete the background image, you have to edit the file Themes/sunset-2-0-1-5/style.css

Okay, thanks, I didn't know if there was someplace other than the style sheet that I needed to change. I didn't want to end up with pesky missing image symbols. I will give that a try this week and if I run into problems I'll definitely give you a shout.

Thanks so much for your prompt response!
Some mornings it just isn't worth
chewing through the leather straps.
~Emo

Unlimited Own Posts Editing Time

Offline debiwebi

  • Jr. Member
  • **
  • Posts: 142
    • for Seth and Jane Roberts Fans
Re: 2.0 Sunset
« Reply #93 on: November 25, 2015, 11:55:22 PM »
Oops, I guess we misunderstood each other.

I would like to not have images for the main navigation links: the links for home, help, search, log in, register (see attachment).

I just want them to be text links. Is there a way I can do that? If the change will affect all the other links throughout the forum, that's fine too.
Some mornings it just isn't worth
chewing through the leather straps.
~Emo

Unlimited Own Posts Editing Time

Offline ForumMustang.com

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
  • SMF French Translator
    • Franadata on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #94 on: November 26, 2015, 11:18:13 AM »
Ho, I see. Like with any other theme, you will have to go in the admin section in "themes and layout" and "theme settings", click on the Sunset 2.0 name and uncheck the "Show buttons as images instead of text" box.

Offline debiwebi

  • Jr. Member
  • **
  • Posts: 142
    • for Seth and Jane Roberts Fans
Re: 2.0 Sunset
« Reply #95 on: November 26, 2015, 11:27:02 AM »
That simple, huh? There's so much to know about SMF. Thanks so much for the speedy reply!  :)
Some mornings it just isn't worth
chewing through the leather straps.
~Emo

Unlimited Own Posts Editing Time