[Plugin: Special Text Boxes] 1 custom box, 1 image, 1 caption – customization!
-
Hi,
After I started using the (great) WordPress special text boxes plugin I found one thing missing:
You cannot have 1 box with 1 image covering both the caption and the rest.Solution: Add the following code to
/wp-content/plugins/wp-special-text-boxes/css/wp-special-text-boxes.css.php.stb-custom_box::first-line { font-size: 22px };
Change:padding-left: <?php echo (($stextboxesOptions['bigImg'] === 'true') ? '50' : '25' ); ?>px; TO padding-left: <?php echo (($stextboxesOptions['bigImg'] === 'true') ? '100' : '25' ); ?>px;
Change
min-height: <?php echo (($stextboxesOptions['bigImg'] === 'true') ? '40' : '20');?>px; TO min-height: <?php echo (($stextboxesOptions['bigImg'] === 'true') ? '70' : '20');?>px;
Configure image and big image for custom special text boxes
What this does
this CSS entry “first-line” will only apply to the first line. Result: First line has a large font-size, the rest of the lines don’t. Separation between first line and the rest is by just pressing enter.Screenshot:
https://www.domoticaworld.com/domotica/wp-content/gallery/system/wp_specialtextboxes.png
- The topic ‘[Plugin: Special Text Boxes] 1 custom box, 1 image, 1 caption – customization!’ is closed to new replies.