Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: bubus66 on July 28, 2015, 03:34:33 PM

Title: BBCBox augmentation
Post by: bubus66 on July 28, 2015, 03:34:33 PM
Hi I have checked the picture where I can raise bigger? Or even more font sizes set
Title: Re: BBCBox augmentation
Post by: Shambles on July 28, 2015, 05:23:23 PM
Use your browser developer tool to discover the styling (right click > inspect)
Title: Re: BBCBox augmentation
Post by: bubus66 on July 29, 2015, 01:48:48 AM
Hi, I have so much I eat and when you have found you do not ask the question. You can look at the images that need to change ours can not find the element.style. As you see in the image than the first x-small small flat for the second and lifted it.
Title: Re: BBCBox augmentation
Post by: Gluz on July 29, 2015, 03:31:12 AM
"element.style" means that the style is not in the CSS file but inline in the HTML element directly:
<select name="sel_face" id="BBCBox_message_select_0_9" style="margin-bottom: 1ex; font-size: x-small;">
, which means that need to be changed where the BBCodes are constructed.

That is in GenericControls.template.php on the default theme (assuming that your theme doesn't have it's own template, it's rare to themes have it), around the line 255 you see something like this:
<select name="%selectName%" id="%selectId%" style="margin-bottom: 1ex; font-size: x-small;">
There change x-small for small or the size you want.
Title: Re: BBCBox augmentation
Post by: bubus66 on July 29, 2015, 05:40:23 AM
Thanks Super