Dashboards & Visualizations

How can I make the column content align to right while the title of this panel is center-aligned ?

Jouman
Path Finder

Hi all,

I have a panel with 4 columns and I configure the panel settings in "htmlPanel1A".

 

<panel id="htmlPanel1A">

 


Due to different values in each columns, I sometimes found 3 columns look like left-aligned while the rest 1 column looks like right-aligned content. I think the problem comes from center-aligned in the default setting.


I would like to change into right-aligned for all columns but remains the title of the panel is center-aligned. Is there any suggestion on my CSS configuration to fulfill the purpose?

 

<panel depends="$alwaysHideCSS$">
      <html>
        <div>            
          <style>
            /* define some default colors */
            .dashboard-row .dashboard-panel{
              background-color:lightcyan !important;
            }  
            .dashboard-panel h2{
              background:cyan !important;
              color:FFFFFF !important;
              text-align: center !important;
              font-weight: bold !important;
              border-top-right-radius: 12px;
              border-top-left-radius: 12px;
            }            
            /* override default colors by panel id */            
            #htmlPanel1 h2,#htmlPanel1A h2{
              color:#3C444D !important;
              background-color:#FFFFFF !important;
            } 
.....
         </style>
        </div>
      </html>
    </panel>

 

 

 

 

 

 
Thank you so much.

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...