Add text

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
expose
Registered User
Posts: 10
Joined: Wed Aug 21, 2019 7:53 am

Add text

Post by expose »

Hi,

I would like to add a small text above the banner seen on attatched picture.
Ive looked for index_body file but cannot find that in my styles template folder. Where should i look to add the text "Annonser" in a nice way so it fits the design of my site?

Site url is: www.jaktgruvan.se



Image
User avatar
warmweer
Jr. Extension Validator
Posts: 11988
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Add text

Post by warmweer »

expose wrote: Mon Sep 09, 2019 8:42 am Ive looked for index_body file but cannot find that in my styles template folder.
index_body.html is in /styles/prosilver/template.
If it's not there then you don't have a complete fileset.
And it's not in index_body.html you have to look.
It is in overall_header.html. But since you're using a different style with the banner moved or copied, perform a search for logo (or banner) in your style directory to find out which template to edit.
In prosilver there are events you could use to position your text (and probably also in your style).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
expose
Registered User
Posts: 10
Joined: Wed Aug 21, 2019 7:53 am

Re: Add text

Post by expose »

warmweer wrote: Mon Sep 09, 2019 11:18 am
expose wrote: Mon Sep 09, 2019 8:42 am Ive looked for index_body file but cannot find that in my styles template folder.
index_body.html is in /styles/prosilver/template.
If it's not there then you don't have a complete fileset.
And it's not in index_body.html you have to look.
It is in overall_header.html. But since you're using a different style with the banner moved or copied, perform a search for logo (or banner) in your style directory to find out which template to edit.
In prosilver there are events you could use to position your text (and probably also in your style).
Thanx, but im using a style named "we_universal". Shouldnt i be looking in that template-folder then?
The picture is not the main-banner of the site (header).
It is an Advertising extension wich place the banner in the bottom of the board index. So under the statistics i want to write a simple text.
expose
Registered User
Posts: 10
Joined: Wed Aug 21, 2019 7:53 am

Re: Add text

Post by expose »

Never mind.

I found it in the index_body.html in the prosilver-folder. Added a div-tag with a h3 tag.
Used same div-class as the div-tag above and it looks good now! :-)

Return to “[3.2.x] Styles Support & Discussion”