Is it possible to set background image in panel? I found only background-color option.

Thanks.

asked 25 Dec '14, 08:25

Emil's gravatar image

Emil
451217
accept rate: 0%


Hi Emil,

You can define a custom CSS to achieve this. First of create a CSS file like tomcat/formspider/apps/YOUR_APP_NAME/css/my_style.css. Then edit application settings from FormspiderIDE and set custom css property to "my_style.css".

An example of my_style.css:

div#mainPanel {
  background-color: white !important;
  background-image: url('../images/bgimage.png') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

You can see the name of your panel in the name of CSS class.

Regards

link

answered 27 Dec '14, 04:41

Serdar's gravatar image

Serdar ♦♦
100k4
accept rate: 14%

Thanks it works!

(07 Jan '15, 08:25) Emil
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×32
×10
×4

Asked: 25 Dec '14, 08:25

Seen: 808 times

Last updated: 07 Jan '15, 08:25


© Copyright Gerger 2017