<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Juicebox Support Forum — Changing font size of image titles and captions (and gallery title)]]></title>
		<link>https://juicebox.net/forum/viewtopic.php?id=5115</link>
		<atom:link href="https://juicebox.net/forum/extern.php?action=feed&amp;tid=5115&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Changing font size of image titles and captions (and gallery title).]]></description>
		<lastBuildDate>Wed, 19 Feb 2020 21:21:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Changing font size of image titles and captions (and gallery title)]]></title>
			<link>https://juicebox.net/forum/viewtopic.php?pid=17454#p17454</link>
			<description><![CDATA[<p>Unfortunately, there are no configuration options available within JuiceboxBuilder-Pro to change the font size of image titles and captions.</p><p>However, you can style individual image titles and captions (for example, to change the font size) using HTML formatting as noted in this FAQ:<br /><a href="https://www.juicebox.net/support/faq/#custom-3">How do I add HTML formatting to image captions and titles?</a></p><p>A sample caption with a font size of 12px (for example) would look like this:<br /></p><div class="codebox"><pre><code>&lt;span style=&quot;font-size: 12px;&quot;&gt;Image caption text goes here.&lt;/span&gt;</code></pre></div><p>In the gallery&#039;s XML configuration file, the caption would look like this:<br /></p><div class="codebox"><pre><code>&lt;caption&gt;&lt;![CDATA[&lt;span style=&quot;font-size: 12px;&quot;&gt;Image caption text goes here.&lt;/span&gt;]]&gt;&lt;/caption&gt;</code></pre></div><p>... but JuiceboxBuilder-Pro will automatically add the <strong>&lt;caption&gt;</strong> and <strong>CDATA</strong> tags so you only need to enter the <strong>&lt;span&gt;</strong> tag (as above) into JuiceboxBuilder-Pro.<br />(You can do likewise for image titles.)</p><p>Otherwise, you can set the size of all image titles and/or captions at once using CSS such as the following (changing the numeric values as appropriate):<br /></p><div class="codebox"><pre><code>/* IMAGE TITLE */
.jb-caption .jb-caption-title {
    font-size: 20px !important;
}

/* IMAGE CAPTION */
.jb-caption .jb-caption-desc {
    font-size: 18px !important;
}

/* IMAGE NUMBER */
.jb-cap-frame .jbac-number {
    font-size: 12px !important;
}</code></pre></div><p>You could add this CSS to the end of your gallery&#039;s &#039;<em>jbcore/classic/theme.css</em>&#039; file or wrap it in <strong>&lt;style type=&quot;text/css&quot;&gt;</strong> ... <strong>&lt;/style&gt;</strong> tags and add it to the end of your gallery web page&#039;s <strong>&lt;head&gt;</strong> section.</p><p>If you want to change the font size for the Gallery Title, then you can do so using HTML formatting (just like the image titles and captions above).<br />Please see this FAQ for details:<br /><a href="https://www.juicebox.net/support/faq/#custom-4">How do I add HTML formatting to the Gallery Title or Back Button?</a></p><p>For example, you could enter a Gallery Title such as the following into JuiceboxBuilder-Pro&#039;s &#039;Customize -&gt; Lite -&gt; Gallery Title&#039; field (changing the values as appropriate):<br /></p><div class="codebox"><pre><code>&lt;span style=&quot;font-size: 48px;&quot;&gt;Gallery Title text goes here.&lt;/span&gt;</code></pre></div><p>Alternatively, if you want to change the font size for the Gallery Title via CSS, then use the following (changing the numeric values as appropriate):<br /></p><div class="codebox"><pre><code>/* GALLERY TITLE - LARGE SCREEN MODE */
.jb-area-large-mode-title {
    font-size: 48px !important;
}

/* GALLERY TITLE - SMALL SCREEN MODE */
.jb-idx-ssm-title-wrapper {
    font-size: 48px !important;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Steven @ Juicebox)]]></author>
			<pubDate>Wed, 19 Feb 2020 21:21:45 +0000</pubDate>
			<guid>https://juicebox.net/forum/viewtopic.php?pid=17454#p17454</guid>
		</item>
	</channel>
</rss>
