Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-07-02 17:20:35

INCGuy
New Member
Registered: 2019-07-02
Posts: 3

Can I add a photo to the header?

Can I add a photo to the header to show on all pages?
==
Guy

Offline

#2 2019-07-02 23:06:06

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: Can I add a photo to the header?

INCGuy wrote #318615:

Can I add a photo to the header to show on all pages?
==
Guy

off the top of my head i would use a Form set as Miscellaneous and output to each section or page///


…. texted postive

Offline

#3 2019-07-03 02:18:53

INCGuy
New Member
Registered: 2019-07-02
Posts: 3

Re: Can I add a photo to the header?

As an absolute newbie to this particular blog, there is no where I can edit the code (html, css, etc) in order to add an image to all pages?

Offline

#4 2019-07-03 03:41:37

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: Can I add a photo to the header?

INCGuy wrote #318617:

As an absolute newbie to this particular blog, there is no where I can edit the code (html, css, etc) in order to add an image to all pages?

you need to login to your admin area.


…. texted postive

Offline

#5 2019-07-03 05:03:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Can I add a photo to the header?

Hi and welcome to txp

After login, you can navigate to Content>Images and upload your photo in the dimensions that you need it. You then navigate to Presentation>Pages and Presentation>forms and find where the <h1> tags are located. Your photo could go just before them by using <txp:image id="#" />. (Change the # to the id of the image allocated by txp in the images tab).

Do feel free to ask any questions as you are learning the process.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2019-07-03 20:35:46

INCGuy
New Member
Registered: 2019-07-02
Posts: 3

Re: Can I add a photo to the header?

Thank you Colak,

I did what you said, but I could only find an H1 in the Presentation form not on the Pages section. With that said, it did not show up on the blog… I took a screen shot but I can’t see where to add it to our conversation…

Last edited by INCGuy (2019-07-03 20:36:14)

Offline

#7 2019-07-04 05:18:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Can I add a photo to the header?

You have to upload the sreenshot some other place. I normally use https://imgbb.com/ and you can embed it in the forum using textile.

Also can you please post the url of your site?

> Edited to add. If you are using the template installed with txp, there are a few h1s in Presentation>Pages default, archive, and error_default.

Alternatively you can install the smd_where_used plugin to find all h1 instances.

Last edited by colak (2019-07-04 06:07:47)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB