1. Josie
  2. Free Templates / Extensions
  3. Sunday, 30 October 2022
  4.  Subscribe via email
Hello,
we have a problem with google fonts in free template oxygen.
We deleted the links in the styles.php (rows 13-53) like it was written in https://www.joomla51.com/forum/google-fonts-eu-dsgvo#reply-28949, but they are still there. Can we delete the googlefonts.php to get rid of them?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Sorry for my belated reaction.
First thank you for answering, but problem is meanwhile solved.

But may I ask another question: we would like to try your responsive template "Ashley" Am I right that I have to remove the lines 16 to 29 in the styles.php for removing google fonts?





<?php
defined( '_JEXEC' ) or die( 'Restricted index access' );
include ("convert_rgb.php");
$document->addStyleSheet('templates/'.$this->template.'/css/bootstrap.css');
$document->addStyleSheet('templates/'.$this->template.'/css/typo.css');
$document->addStyleSheet('templates/'.$this->template.'/css/jstuff.css');
$document->addStyleSheet('templates/'.$this->template.'/css/animate.css');
$document->addStyleSheet('templates/'.$this->template.'/css/vegas.css');
if ($fontawesome_sw) {
$document->addStyleSheet('templates/'.$this->template.'/css/font-awesome.css');
}
$document->addStyleSheet('templates/'.$this->template.'/css/nexus.css');
?>
<?php
$googlefonts = array($body_fontstyle, $h1head_fontstyle, $articlehead_fontstyle, $modulehead_fontstyle, $h4head_fontstyle, $hornav_fontstyle);
$websafefonts = array("Arial, sans-serif", "Arial, Helvetica, sans-serif", "Courier, monospace", "Garamond, serif", "Georgia, serif", "Impact, Charcoal, sans-serif", "Lucida Console, Monaco, monospace", "MS Sans Serif, Geneva, sans-serif", "MS Serif, New York, sans-serif", "Palatino Linotype, Book Antiqua, Palatino, serif", "Tahoma, Geneva, sans-serif", "Times New Roman, Times, serif", "Trebuchet MS, Helvetica, sans-serif", "Verdana, Geneva, sans-serif", "Arial");
// remove websafe
$googlefonts = array_diff($googlefonts, $websafefonts);
// remove duplicates
$googlefonts = array_keys(array_flip($googlefonts));
// remove spaces
$font_subset = str_replace(' ', '', $font_subset);
// loop
foreach ($googlefonts as $v) {
echo '<link rel="stylesheet" type="text/css" href="//http://fonts.googleapis.com/css?family='.$v.':400,500,700&subset='.$font_subset.'" /> ';
}
?>
<?php if($responsive_sw == "1") { ?>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/responsive.css" type="text/css" />
<style type="text/css">
@media only screen and (max-width: 1140px) {
.wrapper960 {
width:100% !important;
}
#container_footermenu {
padding: 20px;
}
}
@media only screen and (max-width: <?php echo ($menu_break); ?>px) {
.hornav {display:none !important;}
.slicknav_menu {display:block;}
}
</style>
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Yes. Specifically, you need to remove line 27.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok