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!