Page 1 of 1
Centering Header and Footer.txt [SOLVED]
Posted: Sat Feb 28, 2015 5:35 pm
by RBlack
Script URL:
http://www.euro-list.com/hesk/
Version of script: 2.6.1
Hosting company: Host Gator
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
center header txt, center footer txt, header footer center ...
Write your message below:
I have searched and searched for how to center the header and footer of the help desk. Can you please tell me how or at least point me in the right direction?
Thank you for your time.
Re: Centering Header and Footer.txt
Posted: Sun Mar 01, 2015 12:39 am
by mkoch227
In your header.txt / footer.txt markup, try adding this to the very beginning:
and at the very end, add this:
Re: Centering Header and Footer.txt
Posted: Mon Mar 02, 2015 8:06 am
by RBlack
Nope... unfortunately, that didn't work.

Re: Centering Header and Footer.txt
Posted: Mon Mar 02, 2015 12:45 pm
by Klemen
Re: Centering Header and Footer.txt
Posted: Mon Mar 02, 2015 4:27 pm
by RBlack
I've tried changing various things in the CSS. It is stuck to the left.
Please, I need someone to tell me how to do this. I'm sure I am not the first person to ask this "stupid" question.
Re: Centering Header and Footer.txt
Posted: Mon Mar 02, 2015 4:47 pm
by mkoch227
This doesn't appear to be a HESK issue. The table itself IS centered, however the content inside is not.

Re: Centering Header and Footer.txt
Posted: Tue Mar 03, 2015 2:48 am
by RBlack
It's centered everywhere else on my site with the same code.
Re: Centering Header and Footer.txt
Posted: Tue Mar 03, 2015 12:40 pm
by Klemen
You need to understand that teaching HTML/CSS is out of the scope of our support here, or we could be here all day long answering customization questions.
That said, a solution to your problem would be to assign your header/footer tables a class name, for example:
Then use the appropriate CSS code (inside hesk_style.css or a custom style file) to center text inside footer class td's:
Code: Select all
.myfooter td {
text-align: center;
}
To learn more about CSS please search Google, there are a lot of good free tutorials available.
Re: Centering Header and Footer.txt
Posted: Tue Mar 03, 2015 9:30 pm
by RBlack
I LOVE YA BABY!!!!!
Re: Centering Header and Footer.txt [SOLVED]
Posted: Wed Mar 04, 2015 11:14 am
by Klemen
Glad to hear you got it working.
P.s.: if you use Firefox press CTRL + SHIFT + C when viewing a web page, a very powerful tool for inspecting HTML elements and their CSS properties will open.