Style (CSS) title and caption separately Style (CSS) title and caption separately
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Style (CSS) title and caption separately

Started by mduke, July 07, 2005, 06:16:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mduke

Is it possible to apply different styles to the title and caption? Currently, when I assign a CSS text-align property value to {caption} (e.g., left), the title and caption both are affected by this. I would like to be able to center the title, but left-justify the caption. Thanks.
Non cogito, ergo nihil sum

Nibbler

You'd need to change the class names assigned to each <span> in functions.inc.php (get_pic_data)