copyright centered on page

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Thu Mar 29, 2012 3:35 pm
Hello.

I deleted the footer menu and write some information on copyright information. It is right aligned but i wanted to be centered on page.

How to do it?
User avatar
Junior Boarder

GK User
Thu Mar 29, 2012 3:53 pm
Hi,

Try adding this code to CSS Override:
Code: Select all
#gkCopyrights{
margin-right: 152px;
}

Then let me know if it helps.
User avatar
Platinum Boarder

GK User
Fri Mar 30, 2012 11:52 am
Hi.

It works but i had to alter 152 px to other value that suits my needs. However this isn't the more accurate solution but for now it will do.

I'd like to have an automatic calculation for the text and centered position. I think that is possible through css but i don't know very well to make it work.
User avatar
Junior Boarder

GK User
Sat Mar 31, 2012 1:24 pm
So, try this solution instead please:
Code: Select all
#gkCopyrights{
width: 100%;
text-align: center;
}

However the text will go down one line from the current position, but I think it's fine.
User avatar
Platinum Boarder

GK User
Sat Mar 31, 2012 5:24 pm
Yes, this is much better and more elegant.

Solved.
User avatar
Junior Boarder

GK User
Sat Mar 31, 2012 7:45 pm
You're welcome :D
User avatar
Platinum Boarder

GK User
Wed Apr 11, 2012 4:32 pm
Hello again.

I've another question about the text that is written in copyright info box. I have an email address but i can't put an email link to it, since after i wrote the link text and save the modifications it disappears. I think is some feature that clean the code in that box.

How can i bypass that or make the link in a way that it doesn't erased?
User avatar
Junior Boarder

GK User
Fri Apr 13, 2012 1:15 pm
Hi Miguel,

Can you give me your site URL to take a look on the footer to get more clear on the issue?

Thanks,
User avatar
Platinum Boarder

GK User
Mon Apr 16, 2012 9:34 am
Hello.

I'm developing in localhost so i can't show you my site for now. However i send a screenshot in attachment to this post.

As you can see i have the footer text inserted in the box. What i want is that in the frontend, my email address could have a mailto link. When i insert that link in the footer text and save the settings, it disappear from the footer text box.

So, is there a away to fix this?
User avatar
Junior Boarder

GK User
Mon Apr 16, 2012 11:37 pm
I understand it now, find this file under your template folder templateDetails.xml
Find code:
Code: Select all
<field name="copyrights" type="textarea" rows="3" cols="40" label="TPL_GK_LANG_COPYRIGHTS" description="TPL_GK_LANG_COPYRIGHTS_DESC" />

Change to:
Code: Select all
<field name="copyrights" filter="raw" type="textarea" rows="3" cols="40" label="TPL_GK_LANG_COPYRIGHTS" description="TPL_GK_LANG_COPYRIGHTS_DESC" />

And html code put in that box won't be trimmed anymore.

Cheers,
User avatar
Platinum Boarder

GK User
Tue Apr 17, 2012 11:51 am
Thanks Don.

It works like a charm... thank you for your support.
User avatar
Junior Boarder

GK User
Tue Apr 17, 2012 2:28 pm
No problem at all, feel free to ask me if you still need any other helps.

Cheers,
User avatar
Platinum Boarder


cron