Posts: 6
Threads: 1
Joined: Dec 2015
Reputation:
0
Hi,
I'm new to myBB and ezGallery. I have installed myBB and ezGallery and both are working fine. I wish to change the font for the list of galleries I have created that are displayed on the ezgallery.php page.
Currently the font of the list of the gallery names are not large enough and I would also like to bold the text as well. I have looked through the php files of ezGallery, and nothing jumps out as to what needs to be modified.
Any help would be appreciated.
Posts: 784
Threads: 39
Joined: Aug 2009
Reputation:
29
It would be inside the php code in ezgallery.php in the " mainview()" function
Posts: 6
Threads: 1
Joined: Dec 2015
Reputation:
0
Hey Thanks. I tried the following to bold the text in the " mainview()" function but it didn't change anything.
$context['gallery_cat_name'] = '<b>'.$row1['title'].'</b>';
Any ideas?
Posts: 784
Threads: 39
Joined: Aug 2009
Reputation:
29
That would only change it when you are viewing the inside of the category
Posts: 784
Threads: 39
Joined: Aug 2009
Reputation:
29
It should be in the same function just down more below.
Posts: 6
Threads: 1
Joined: Dec 2015
Reputation:
0
BINGO!!
Here is the code for other who have struggled with this. This will bold the title and description.
if ($row['image'] == '')
echo '<td colspan="2"><a href="ezgallery.php?cat=' . $row['ID_CAT'] . '"><b>' . $parser->parse_message($row['title'], $parser_options) . '</b></a></td><td><b>' . $parser->parse_message($row['description'], $parser_options) . '</b></td>';
Posts: 6
Threads: 1
Joined: Dec 2015
Reputation:
0
Better yet, here's the code to also increase the font size too.
if ($row['image'] == '')
echo '<td colspan="2"><a href="ezgallery.php?cat=' . $row['ID_CAT'] . '"><b><font size="3">' . $parser->parse_message($row['title'], $parser_options) . '</font></b></a></td><td><b><font size="3">' . $parser->parse_message($row['description'], $parser_options) . '</font></b></td>';