collapse

* Site Menu

Author Topic: logo on themes  (Read 109 times)

0 Members and 1 Guest are viewing this topic.

Offline beast

  • Vietnam Veteran
  • DS VIP
  • Sr. Member
  • *
  • Posts: 419
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • So What
    • stumpburner
logo on themes
« on: November 18, 2018, 12:20:27 PM »







   It has been so long. I don't remember how to delete a themes name, and put my own logo on it, and centered




    :taz:
thank [you] for reading my post





Offline beast

  • Vietnam Veteran
  • DS VIP
  • Sr. Member
  • *
  • Posts: 419
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • So What
    • stumpburner
Re: logo on themes
« Reply #1 on: November 19, 2018, 11:59:59 AM »







   I can't get it to work. I don't know what I'm doing wrong




    :taz:
thank [you] for reading my post





Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 3054
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Buildz Hosting
Re: logo on themes
« Reply #2 on: November 20, 2018, 07:23:19 AM »
Sorry, been very busy lately and forgot about this. To add your own logo you need to upload it wherever you like and then go to Admin -> Configuration -> Current Theme.

Then in this section: "Theme Options and Preferences" add the path and image filename to "Logo image URL:". You might have to use the IMG and CENTER tags to get it centered or use the index.css file to center it. Actually, I forget how to center it myself. LOL
EDIT: If you would have done a search at SMF you probably would have found this:
https://www.simplemachines.org/community/index.php?topic=561363.0
« Last Edit: November 20, 2018, 07:55:30 AM by Skhilled »

Offline beast

  • Vietnam Veteran
  • DS VIP
  • Sr. Member
  • *
  • Posts: 419
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • So What
    • stumpburner
Re: logo on themes
« Reply #3 on: November 22, 2018, 08:40:54 AM »







   I did all that and the logo still won't show up  :groan:




    :taz:
thank [you] for reading my post





Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 3054
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Buildz Hosting
Re: logo on themes
« Reply #4 on: November 22, 2018, 10:33:02 AM »
You're not being specific about what you have tried to do. Maybe I can help more if you tell me that.

The SMF.org link basically says you can't center the logo using Curves or a theme based on Curves without a lot of extra coding. If you are using a custom theme you should contact the creator of the theme to help you center it because it has custom coding.

Offline beast

  • Vietnam Veteran
  • DS VIP
  • Sr. Member
  • *
  • Posts: 419
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • So What
    • stumpburner
Re: logo on themes
« Reply #5 on: November 22, 2018, 11:27:20 AM »







   I don't under stand the curve thing. All the others work. so it must be the theme. I will get another. I'm just playing and having fun trying this and that




    :taz:
thank [you] for reading my post





Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 3054
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Buildz Hosting
Re: logo on themes
« Reply #6 on: November 22, 2018, 03:47:02 PM »
It's just the way SMF designed Curves (the default theme) and made it difficult to do certain things.

Offline beast

  • Vietnam Veteran
  • DS VIP
  • Sr. Member
  • *
  • Posts: 419
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • So What
    • stumpburner
Re: logo on themes
« Reply #7 on: December 08, 2018, 11:15:23 AM »







   Ok! Here is what I did


Center the Header Logo ( SMF 2.x)
on: Today at 05:02:46 PM
    Quote
In your themes Index.css find:
Code: [Select]
h1.forumtitle
{
 line-height: 45px;
 font-size: 1.8em;
 font-family: Geneva, verdana, sans-serif;
 margin: 0;
 padding: 0;
 float: left;
}

and replace with:
Code: [Select]
h1.forumtitle
{
 line-height: 45px;
 font-size: 1.8em;
 font-family: Geneva, verdana, sans-serif;
 margin: 0;
 padding: 0;
 text-align: center;
}
 On the pic on the index css it shows the logo in the center. But when I go back to the forum. The logo is on the left side????  :groan:   :cry1:




    :taz:
thank [you] for reading my post





Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 3054
  • Attack: 100
    Defense: 100
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Buildz Hosting
Re: logo on themes
« Reply #8 on: December 08, 2018, 04:39:51 PM »
On the pic on the index css it shows the logo in the center. But when I go back to the forum. The logo is on the left side? ??? :groan:   :cry1:

What do you mean by "On the pic on the index css it shows the logo in the center."??? What did you use to edit the code?