Splunk Search

single value background image

vikas_gopal
Builder

Hello Everyone,

Please suggest me how to place an images to extreme left in the single value box.This is what I have done in CSS. With the below code image is appearing in the middle of the box.

.dashboard-row1 #book_code {
 background: transparent 50% 50% no-repeat url('/static/app/VikasDev/books.png');
padding-left: 40px;
padding-top: 40px;
height:20px;

}

Here #book_code is my single id....

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

What happens when you replace 50% 50% with left center?

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

What happens when you replace 50% 50% with left center?

martin_mueller
SplunkTrust
SplunkTrust

Certainly, just look at the CSS behind it and see what makes it appear in the centre and change that.

0 Karma

vikas_gopal
Builder

wow that works fine thanks martin.Similarly can we change the locations of the single value text .I mean can we place that total count to left...?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...