Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Riggs1973 on November 25, 2022, 06:11:26 AM

Title: Banner help
Post by: Riggs1973 on November 25, 2022, 06:11:26 AM
Hi guys I'm new to smf and I'm looking to have a banner header that goes across the forum where the smf logo is from one side to the other.

I think you have to edit the index template.php but I'm not sure what code to use or where to put it, I have tried not to no success.

Any help in this matter would be greatly appreciated.

Kind regards Andy
Title: Re: Banner help
Post by: Kindred on November 25, 2022, 07:38:18 AM
You will either have to edit index.template.php and index.css...
Or
Find a theme that has the style you like to start with...

Thing is, it's not just a simple,  one line edit. The default theme has more than just the logo in the header
Title: Re: Banner help
Post by: peter_mein on November 25, 2022, 07:53:54 AM
Which picture ?
Replaced the SMF logo with your picture.
In your configuration you can find the path to upload your picture.
Title: Re: Banner help
Post by: Kindred on November 25, 2022, 08:18:15 AM
Peter,
The smf logo only allocates less than 50% of the header. Riggs wants to have the banner cover the whole width.


Riggs, another idea is adding the global header & footer mod....
Title: Re: Banner help
Post by: peter_mein on November 25, 2022, 08:23:19 AM
Then you must edit the banner with a graphic program.
I did it the same way, too
Title: Re: Banner help
Post by: Riggs1973 on November 25, 2022, 09:59:01 AM
Quote from: Kindred on November 25, 2022, 08:18:15 AMPeter,
The smf logo only allocates less than 50% of the header. Riggs wants to have the banner cover the whole width.


Riggs, another idea is adding the global header & footer mod....

Thanks buddy I'll give that a bash. I'm looking to do something similar to the banner in this theme without links, I've also done the edit to remove the logo and smf one too.Forgot to mention I'm editing the default theme on the latest version 😊

https://custom.simplemachines.org/index.php?action=download;theme=3011;attach=283227;image

Many thanks Andy
Title: Re: Banner help
Post by: Steve on November 25, 2022, 08:17:45 PM
If that works for you Andy, click the green 'Mark Topic Solved' button. :)