Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]HTML Accordion Tab color
Go
New
Search
Notify
Tools
Reply
  
[SOLVED]HTML Accordion Tab color
 Login/Join
 
Virtuoso
posted
Hi,

I have an HTML page with an Accordion control having several tab (pages).
I'm able to change the tab content background color but it's not what I'm looking for.

I want to change the default grey of the tab header background (and possibly the text font darker grey) color to something else.

Is it something possible ?
It doesn't seems to be part of any Accordion properties options.

When I change the Document Theme it does change the tab background color but also affect everything else on the page.

Should I create a custom Theme similar to the one I used but where the Accordion tab will be customized to "my" colors ?
If so, how can I found the location/name of the selected Theme to have the starting point to adapt as I need ?

Thanks to confirm my assumption and send me in the right way.

This message has been edited. Last edited by: MartinY,


WF 7.7.05M, 8.1.05M, 8.2.0.1M Windows, HTML, Excel
In Focus since 2007
 
Posts: 1539 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
Hi Martin,

Using developer tools within your browser, you should be able to locate the class for the element in question.

Creating a simple HTML page with just the accordian control with a couple of extra pages, I can see that my one is using bip_neutral.css and then using the classes IBI_pageHeaderText, IBI_pageHeader_Selected and IBI_pageHeader for a few of the styling attributes such as colour, font and font-weight.

Personally, if you only wanted to change the colouration for this one situation, I would add some styling within the "Embedded CSS" tab -

.IBI_pageHeaderText {
background-color: #00f;
color: #fff;
}


Because this code appears to be rendered before the "real" class, I would use "!important" to override default styling attributes, should you need to.


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, 8.2.02 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.01M standalone on Windows 10 
 
Posts: 5330 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Thanks Tony, I'll look at this.


WF 7.7.05M, 8.1.05M, 8.2.0.1M Windows, HTML, Excel
In Focus since 2007
 
Posts: 1539 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]HTML Accordion Tab color

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.