When using tha galleria shortcode / option the gallery doesn;t show on mobile devices (error theme not found) is there a solution for this? do I need to install something else besides the theme?
Galleria
(6 posts)
(2 voices)
-
Posted 4 months ago #
-
Hello roderickvs,
Try pasting this into
/wp-content/themes/[your_theme]/header.phpbetween lines 18 and 19,<script type = 'text/javascript' src = 'http://domain.com/wp-content/themes/elegance/lib/scripts/galleria/themes/classic/galleria.classic.js'></script> <link rel="stylesheet" type="text/css" href="http://domain.com/wp-content/themes/elegance/lib/scripts/galleria/themes/classic/galleria.classic.css" />And replace "http://www.domain.com" with your own domain.
Posted 4 months ago # -
are the lines crucial cause I already added some stuff in the header and am not quite sure what lines 18-19 are..
if I just put it in the header the page goes wrong in the browser with fatal errors and could not scale messages
Posted 4 months ago # -
As long as it's between the
<head> </head>tags.Posted 4 months ago # -
Fatal error: Stage width or height is too small to show the gallery. Traced measures: width:675px, height: 20px
and could not scalehttp://www.antonissen.org/wordpress/portfolio-opzet-3/
this it what my header looks like till the </head>
----<?php
/**
* Header Template
*
* @package Mysitemyway
* @subpackage Template
*/
?><!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="ie ie8 lte9 lte8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 9]> <html class="ie ie9 lte9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 9]> <html> <![endif]-->
<!--[if !IE]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php mysite_document_title(); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php mysite_head(); ?>
<?php wp_head(); ?>
<script type = 'text/javascript' src = 'http://www.antonissen.org/wordpress/wp-content/themes/elegance/lib/scripts/tabs.min.js'></script>
<script type = 'text/javascript' src = 'http://www.antonissen.org/themes/elegance/lib/scripts/galleria/themes/classic/galleria.classic.js'></script>
<link rel="stylesheet" type="text/css" href="http://www.antonissen.org/wp-content/themes/elegance/lib/scripts/galleria/themes/classic/galleria.classic.css" />
</head>----------------------
Posted 4 months ago # -
Your URLs should look like this,
http://www.antonissen.org/wordpress/wp-content/themes/elegance/lib/scripts/Instead of this,
Posted 4 months ago #
Reply
You must log in to post.













