Changing Footer

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Changing Footer

Post by williama » Mon Mar 27, 2023 9:36 am

Hi guys,

I have created a new footer module that is displaying at the bottom of my site.
However it is displaying the default text, the second line of which I would really like to remove.
Joomla! is Free Software released under the GNU General Public License.
The background is also showing as a gradient, going from black to white. I would like the footer's background to just be invisible / see-through, as I am using an image for the background.

How can I achieve both of these? I am using the template Cassiopeia.

Many thanks.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9606
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Changing Footer

Post by AMurray » Mon Mar 27, 2023 9:47 am

Please provide a link to the site so we can point you more precisely to what you have to change. I suspect though in this case, it is just a matter of editing a module in the "footer" position.

The text may be in a module called "copyright" or something similar. I can't give a precise answer without further details. Edit the module to remove/change the text. I use Cassieopia and don't recall seeing the "Joomla! is Free Software released under the GNU General Public License....." text, either on a new plain install or switching the template to Cassiopeia from another template.

https://magazine.joomla.org/all-issues/ ... ips-tricks and contains a diagram of the module positions for Cassiopeia, showing the Footer module position just above the Debug module position.
Regards - A Murray
General Support Moderator

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Mon Mar 27, 2023 10:07 am

Hi A Murry, many thanks for the reply. Here is the link to the site I am setting up.

https://www.williamallum.com/waproductions

I can't see any option in the module to edit the text it is displaying.
And I can't see a module called copyright either.

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Mon Mar 27, 2023 10:23 am

Hi Jsteffers, I have checked and the joomla version is set to hide in the global configuration menu.

gws
Joomla! Champion
Joomla! Champion
Posts: 5837
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Changing Footer

Post by gws » Mon Mar 27, 2023 10:47 am

The footer module is hard coded with that info. Use a custom module to achieve what you want.

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Mon Mar 27, 2023 11:11 am

Hi Gws, oh wow, that's good to know. I will just do that then, defiantly makes things simpler... seems strange it is so hard coded though.

It seems like the footer position within my template is what is causing this gradient to show.
Is there a way to make the background of the footer position invisible too?

Thank you.

gws
Joomla! Champion
Joomla! Champion
Posts: 5837
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Changing Footer

Post by gws » Mon Mar 27, 2023 11:16 am

In your user.css add
.footer{background-image:none;}

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28191
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Changing Footer

Post by imanickam » Mon Mar 27, 2023 11:44 am

williama wrote:
Mon Mar 27, 2023 10:07 am
I can't see any option in the module to edit the text it is displaying.
And I can't see a module called copyright either.
The module is called footer.

One could use the module of the type footer and publish it to the module position footer.

To customize the footer text strings, the following language strings could be overridden in the screen "Languages: Overrides".

Code: Select all

MOD_FOOTER_LINE1="Copyright &#169; %date% %sitename%. All Rights Reserved." ; Note : %date% will be auto replaced by current year! Don't translate
MOD_FOOTER_LINE2="<a href=\"https://www.joomla.org\">Joomla!</a> is Free Software released under the <a href=\"https://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License.</a>"
Note:
In the template Cassiopeia, that you are using, the footer text is not hard-coded.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Mon Mar 27, 2023 12:17 pm

Thank you Gws, but this does not seem to make a difference...?
gws wrote:
Mon Mar 27, 2023 11:16 am
In your user.css add
.footer{background-image:none;}

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Mon Mar 27, 2023 12:21 pm

Thank you Imanickam,

Where does this code go? In the Language Constant * or text input boxes?

Thanks.
imanickam wrote:
Mon Mar 27, 2023 11:44 am
williama wrote:
Mon Mar 27, 2023 10:07 am
I can't see any option in the module to edit the text it is displaying.
And I can't see a module called copyright either.
The module is called footer.

One could use the module of the type footer and publish it to the module position footer.

To customize the footer text strings, the following language strings could be overridden in the screen "Languages: Overrides".

Code: Select all

MOD_FOOTER_LINE1="Copyright &#169; %date% %sitename%. All Rights Reserved." ; Note : %date% will be auto replaced by current year! Don't translate
MOD_FOOTER_LINE2="<a href=\"https://www.joomla.org\">Joomla!</a> is Free Software released under the <a href=\"https://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License.</a>"
Note:
In the template Cassiopeia, that you are using, the footer text is not hard-coded.

gws
Joomla! Champion
Joomla! Champion
Posts: 5837
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Changing Footer

Post by gws » Mon Mar 27, 2023 12:27 pm

williama wrote:
Mon Mar 27, 2023 12:17 pm
Thank you Gws, but this does not seem to make a difference...?
gws wrote:
Mon Mar 27, 2023 11:16 am
In your user.css add
.footer{background-image:none;}
Try.footer{background-image:none !important;}

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Mon Mar 27, 2023 12:41 pm

Sorry, that does not seem to do anything either. :(
gws wrote:
Mon Mar 27, 2023 12:27 pm
williama wrote:
Mon Mar 27, 2023 12:17 pm
Thank you Gws, but this does not seem to make a difference...?
gws wrote:
Mon Mar 27, 2023 11:16 am
In your user.css add
.footer{background-image:none;}
Try.footer{background-image:none !important;}

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28191
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Changing Footer

Post by imanickam » Mon Mar 27, 2023 2:29 pm

williama wrote:
Mon Mar 27, 2023 12:21 pm
Where does this code go? In the Language Constant * or text input boxes?
Review of the document https://docs.joomla.org/J3.x:Language_O ... _in_Joomla would be of help in understanding how to use language override.

In your case, the Language & Client would be English (United Kingdom) & Site.
The language constant is MOD_FOOTER_LINE2 and the value is NOTHING (DO NOT ENTER ANYTHING IN THE FIELD Text).
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Tue Mar 28, 2023 10:44 am

I have got this working now, thank you the link.


Also the below code you gave does seem to work, but I think all the browsers I tried were not updating after I updated, but one of them seems to have refreshed, and is displaying the below correctly now.

Code: Select all

.footer{background:none; text-align: centre;}
The only thing that is not working is the alignment, should this work how I have done it, or is something else needed?

Many thanks.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28191
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Changing Footer

Post by imanickam » Tue Mar 28, 2023 3:55 pm

The link you have provided ends up in "Page Not Fount - 404 Error". It would be better to share a working site so that others can see what is happening and offer suggestions.

Note:
Whenever a css change is made, it is better to clear the browser cache, close the browser, and open the browser for testing.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

williama
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Sun May 18, 2008 10:01 pm

Re: Changing Footer

Post by williama » Tue Mar 28, 2023 4:07 pm

Hi Imanickam, sorry about that. I started to move things over as the Domain became available. Currently it is reachable at the below.

https://www.williamallum.com/waproductions.com
imanickam wrote:
Tue Mar 28, 2023 3:55 pm
The link you have provided ends up in "Page Not Fount - 404 Error". It would be better to share a working site so that others can see what is happening and offer suggestions.

Note:
Whenever a css change is made, it is better to clear the browser cache, close the browser, and open the browser for testing.


Post Reply

Return to “Templates for Joomla! 4.x”