Great thank you so much Mary
Hey Guys
Just follow those steps:
1- open footer.php and find this line
<?php echo get_string('credit', 'theme_essential'); ?><a href="//about.me/gjbarnard" target="_blank">Gareth J Barnard</a>
2- Then change it with
<b>the text you want</b><a href="//your site.com" target="_blank"> <b> your site name</b></a>
DONE
custom CSS within the general tab of the theme works just fine. Then it won't get forgotten on an upgrade either. But he did get sneaky and change the class of the credit text.
Just add this to the custom css field provided in the theme. Refresh your browser and it will be hidden.
#page-footer .thecredit { visibility: hidden }
Hi Alexey,
Try:
#page-footer .themecredit{visibility:hidden; }
I have this line in my Custom.css file and I have no credit line appearing.
Q.
And don't forget to Purge Caches, or have theme developer mode enabled when making changes to css
I copied this line
# page-footer .themecredit {visibility: hidden; }
in custom CSS
theme_essential | customcss
Cache cleaned.
Does not work!
Take out the space after the #
#page
I have so:
#page-footer .thecredit { visibility: hidden }Does not work! I'm desperate!
At the same time to upgrade everything worked...
Try this:
The fix is this...
#page-footer .thecredit { visibility: hidden; }
For future reference (mine as much as anyone elses - and with a slap on my own wrist for not checking which version!): Essential2.8 as requested is .thecredit while Essential2.9 (currently in Beta) appears to be .themecredit
Advice for future readers - use a tool such as firebug to determine the class if it gets changed again ;)
@Mary,
just curious to verify what is the real class of the div. I never doubt of your posts but today i used the footercredit class. So I verified some past versions and found:
Version 2.814 and older
In version 2.817 was:
#page-footer .thecredit { visibility: hidden; }
And I don't see the link in version 2.907 Beta (Thanks Gareth )
@Graham,
If you don't know the theme version, apply both or just wait until next update.
in 2.9.0.6 and 2.9.0.7 its .themecredit, but its been coded slightly differently
public function standard_footer_html() {
$output = parent::standard_footer_html();
$output .= html_writer::start_tag('div', array ('class' => 'themecredit')).
get_string('credit', 'theme_essential').
html_writer::link('//about.me/gjbarnard', 'Gareth J Barnard', array('target' => '_blank')).
html_writer::end_tag('div');
return $output;
}
Thank you, but it does not work!
Version theme_essential 2.8.1.8 (Build: 2015061902)
Moodle 2.8.7 (Build: 20150706)
FireBug:
<div id="yui_3_17_2_2_1441347531108_286" class="thecredit row-fluid">
I updated Essential theme to 2.8.1.8 today and I too got the footer message reappear.
I'd previously hidden it with: #page-footer .thecredit { visibility: hidden; }
So it appears something has changed in this latest version.
"If" you still want to remove it, along with your custom CSS, comment out line 234 in Essential's lib.php i.e.
// $customcss = str_replace('thecredit', 'themepagefooter', $customcss);
The dot in front of credit should NOT have a space after it!