Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6231087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:52:11+00:00 2026-05-24T09:52:11+00:00

If I have the line <style type=text/css></style> , even though it is blank, Galleria

  • 0

If I have the line <style type="text/css"></style> , even though it is blank, Galleria throws the error message “Fatal error: Could not extract a stage height from the CSS. Traced height: 0px.”

It would appear that even though I’m telling galleria to use a height of 300 via:

$('#galleria').galleria({ 
width: 300, 
height: 300, 
transition: 'fade' 
}); 

it tries to first determine the height and the CSS line is confusing it, so it throws this error. If I remove that one line, no more error.

Is there anyway I can still use <style type="text/css"></style>? we use it to customize the look and feel of our site based on the customer using it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:52:12+00:00Added an answer on May 24, 2026 at 9:52 am

    Make sure you include:

    Head:

    <link type="text/css" rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
    <script type="text/javascript" src="js/galleria-1.2.5.min.js"></script>
    <script type="text/javascript" src="galleria/themes/classic/galleria.classic.min.js"></script>
    

    Also the in page style:

    #galleria{height:467px}
    

    And below the images:

    <script type="text/javascript">
    $('#gallery').galleria({
    width: 700,
    height: 467 //--I made heights match
    });
    </script>
    

    If you have problems with this troubleshoot with a clean installation and add until you find the cause.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this: <html> <head> <title></title> <meta http-equiv='Content-Type' content='text/html; charset=utf8'> <style type='text/css'> body {
I have a text file that contains unix style line endings: a 0x0A at
I have this in my CSS file: body {style.css (line 3) background:#CDF8FF url(images/final_bg.jpg) no-repeat
I have a simple <input type=text/> styled with the following: font-size:1.5em;line-height:1.5em;padding:.6em .4em; It displays
CSS decimal list style type, the hanging number doesnt have the same baseline as
I have the following css and jquery code to attempt to change the text
I have line that is defined as two points. start = (xs,ys) end =
I have line: imagejpeg($this->image, $file, $quality); How can add on this image watermark.png?
I currently have a huge HTML file which doesn't have line breaks and just
I'm reading a file using bufferedreader, so lets say i have line = br.readLine();

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.