add style to caption

hey.. how to add style to a specific caption? my guess is some custom stuff will be required right? say if i change the style in the css, it would go on to affect all the captions in the same way right? so i guess i will need to a if-check and according use a specific style class for that specific caption.. am i right or is there a simpler / cleaner way?

Quote · 30 Mar 2014

depending on where the caption is, you could use an inline style

Quote · 30 Mar 2014

its a special block that i created.. added it in the member page.. 

Quote · 30 Mar 2014

Post code or link.

Quote · 31 Mar 2014

The easiest way is add a CSS selector for the caption that includes the parent block ID which you can find by inspecting it with Firebug.  Of course if you ever delete the block, then add it again, the ID will change.

For example, if I wanted to change the title color for a single page block, the css I add to common.css would look something like this:

 

#page_block_228 .boxFirstHeader {
    color: #003300 !important;
}

 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 31 Mar 2014

hey Houston.. that looks neat.. admittedly i am not very good with css.. what would the css style look like for the following.. the block code looks as follows.. and i need to style the caption "lms_main_ad_panel"

<div class="page_block_container bx-def-margin-sec-leftright" id="page_block_415">

<div class="disignBoxFirst bx-def-margin-top bx-def-border">

<div class="boxFirstHeader bx-def-bh-margin">

<div class="dbTitle">lms_main_ad_panel</div>        

<div class="clear_both"></div>

   </div>

<div class="boxContent"> ............ etc

Quote · 31 Mar 2014

Same as in the example, only use your block ID.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 31 Mar 2014

fantastic.. works now.. wrote the following.. thanks!

#page_block_415 .disignBoxFirst .boxFirstHeader .dbTitle{

    color: #d80960;

}

Quote · 31 Mar 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.