Link to home
Start Free TrialLog in
Avatar of weikelbob
weikelbobFlag for United States of America

asked on

h1 at top of Joomla site

Hello,

I have a joomla site

www.worldhealthcoach.com

How do I put an H1 at the very very top of this site?

Thank you!
Avatar of j-b-t
j-b-t
Flag of Australia image

You will do this in th index.php (accessed as html in template manager asfter selecting template )file of your  template

Just put <h1> around whatever you wish</h1>
Avatar of weikelbob

ASKER

I should have mentioned that it will be a different H1 for each page.
well then you can either do this amnually in each article  - the editor has a styles drop down menu
or do an html override for the compaonent and content headers

http://developer.joomla.org/tutorials/165-understanding-output-overrides-in-joomla.html

this will h1 tag teh page title - if you want to tage something else you will have to use seaprate temapltes for each
Do you think I could get it to work in all browsers with a negative margin?
that question is more a css / html issue - you would just have to test and perhaps use a class for styling like <h1 class="neg-margin">put around code to enclose in override</h1> and in your css files define this class.

If there were differences in IE 6, 7 it is pretty usually to deal with this by having their own css style sheets to combat any different handling.

PS: I'm not sure why you need a negative margin - usually there is some other work around. But maybe not.
>>this will h1 tag teh page title - if you want to tage something else you will have to use seaprate temapltes for each<<

This is why I thought I had to use a negative margin. I want to put something different on each page of my site. Wouldn't that require a separate template for each page?
can you give me an example - it' s not clear to me what you are trying to do
On my website

www.worldhealthcoach.com

I want to leave a small space at the very top of the page (above the header) and place an h1 in there. So for my home page the h1 might say

NLP Weight Loss / Weight Loss and NLP / Weight Loss Coach / Wellness Coach

Then on my about us page, I'd have an h1 at the very top of that page, that says,

Bob Weikel / What is NLP / NLP Definition / Definition of NLP.

and then on my contact us page, I would have an h1 at the very, very top of that page that says,

Health Coach / Health and Wellness Coach / Health and Weight Loss Coach / Ideal weight.

and so on.

So a different h1 for each page (containing keywords for that page) and I want it above the header graphic of the page.

Let me know if that's clear.
ok but that will actualllly appear (be visible) on teh pages - right?
maybe repost this  - request attention
either you don't understand what h1 is
or I don't understand what you are trying to do
Yes I want the H1 to be visible on the page.

Let me know if I need to repost this question.

Thank you.
Hmm OK -  if you are not putting this in th article or component's content - it will actaully be in the template.

So say in template 1 - in teh index.php? file you can put <h1> whatever keywords you want showing</h1> - these will appear visibly on eth website where vere you place them in the template

In template 2 - in teh index.php? file you can put <h1> whatever other keywords you want showing</h1>
etc etc and then in t emplate manager assign each to a different menu item

That's the only solution I can see
Sounds like it will work, could you explain in detail:

>>in the template manager assign each to a different menu item<<

I assume this is what I need to do, how do I do this?
ASKER CERTIFIED SOLUTION
Avatar of j-b-t
j-b-t
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I just thought of a problem. Wouldn't I have to edit each and every template if I wanted to make a global change?

Maybe I should use negative margins - should I post a new questions in the CSS area on that, or are you familiar enough with negative margins and cross-browser compatibility.

I don't think I understand what you mean by negative margins - to me that's simply a matter of testing in different browsers nad tinkering with css and I don't at all understand how this connects with  your h1 tagging issue

Better just request attention fort his question so otehr repsondents can see what has been covered
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll do that techsathish.

Thank you.