Homepage schaut am Laptop und am PC aus, als ob es die Domain nicht geben würde

Hab die Seite gerade nochmal aufgerufen und sie funktioniert jetzt bei mir. Wird dann wohl demnächst überall funktionieren.
Die Bilder von Sedoparking dürften damit auch nicht mehr geladen werden, weil der TE geschrieben hatte, dass die Domain/Das Hosting einige Tage abgelaufen war und deshalb die Domain wahrscheinlich auf Sedoparking umgeleitet wurde. D.h. das dürfte auch mit dem DNS-Thema zusammenhängen.
 
  • Gefällt mir
Reaktionen: netzgestaltung
Stimmt. Hab nochmal reingeschaut. Auf der neuen Seite kommt diese Domain nicht vor.
Dafür werden die Schriftarten direkt von Google geladen, würde ich lokal hosten.

Da es sich hier um ein WordPress handelt würd ich das in der functions.php des (ggf neu anzulegenden) Child-Themes lösen.

Beispiel am Edin Theme
PHP:
<?php
  add_action( 'wp_enqueue_scripts', 'edin_child_enqueue_styles', 15 );
 
  function edin_child_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
 
    /* remove loading fonts from fonts.google.com
     * uses custom style.css instead
     */
    wp_dequeue_style('edin-pt-sans');
    wp_dequeue_style('edin-pt-serif');
    wp_dequeue_style('edin-pt-mono');
  }
 ?>

Hängt halt ein wenig vom verwendeten Theme ab, wie es genau geht.

in der eigenen Style.css (Hier wieder vom Edin-Child-Theme, müsstest umbenennen) kann das dann ca so aussehen, ich hab die von dir verwendeten Schriften eingetragen (Poppins, Roboto reg/bold, Roboto Condensed reg/bold):
CSS:
/*
Theme Name:         Edin-linedance
Theme URI:         http://childtheme-generator.com/
Description:     Edin-linedance is a child theme of Edin, created by ChildTheme-Generator.com
Author:             Netzgestaltung.at
Author URI:         http://childtheme-generator.com/
Template:         edin
Version:         1.0.0
Text Domain:     edin-linedance
*/

/*
  Add your custom styles here
*/
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v20-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/poppins-v20-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-condensed-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-condensed-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

Stile und Schriftart-Dateien gibts beim Webfonts-Helper

Zusätzlich würde ich aus Lizenzgründen noch Fontawesome mit Forkawesome tauschen.

PS.: normal benutze ich nur mein eigenes Theme (Sandbox), hier hatte ichs kurzfristig mit so einer Schriftartersetzung zu tun weils in AT dazu eine Abmahnungswelle gab, das Edin Theme finde ich persönlich nicht besonders gut.
 
Zuletzt bearbeitet:
netzgestaltung schrieb:
Stimmt. Hab nochmal reingeschaut. Auf der neuen Seite kommt diese Domain nicht vor.
Dafür werden die Schriftarten direkt von Google geladen, würde ich lokal hosten.

Da es sich hier um ein WordPress handelt würd ich das in der functions.php des (ggf neu anzulegenden) Child-Themes lösen.

Beispiel am Edin Theme
PHP:
<?php
  add_action( 'wp_enqueue_scripts', 'edin_child_enqueue_styles', 15 );
 
  function edin_child_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
[/QUOTE]
Das ist super lieb von dir, dass du mir da hilfst, aber ich habe das Theme fertig gekauft und habe nahezu gar keine Ahnung was ich da zusammenprogrammieren muss.
Hier und da hätte ich noch eine Sache anders, aber keinen Dunst wie das funktioniert :) Kannst mir ja mal eine PM schreiben, wenn sich da was machen lässt ;)
 
Zurück
Oben