MyBB Community Forums

Full Version: Edit 'button' text font?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Attached image shows .tfoot as class to edit for particular button area, but need to edit size of button/text, and .tfoot doesnt appear to do that.
Below appears to be code (DOM Source) involved in this particular case, but cant find source file to edit...
Quote:<div style="text-align: center;"><input class="button" name="submit" value="Post Thread" tabindex="4" accesskey="s" type="submit"> <input class="button" name="previewpost" value="Preview Post" tabindex="5" type="submit">&nbsp;<input class="button" name="savedraft" value="Save as Draft" type="submit"></div>
Where to find info on the question ?
(2011-11-18, 03:31 PM)akm Wrote: [ -> ]Attached image shows .tfoot as class to edit for particular button area, but need to edit size of button/text, and .tfoot doesnt appear to do that.
Below appears to be code (DOM Source) involved in this particular case, but cant find source file to edit...
Quote:<div style="text-align: center;"><input class="button" name="submit" value="Post Thread" tabindex="4" accesskey="s" type="submit"> <input class="button" name="previewpost" value="Preview Post" tabindex="5" type="submit">&nbsp;<input class="button" name="savedraft" value="Save as Draft" type="submit"></div>
Where to find info on the question ?

look at the gobutton class perhaps
buttons related to forms are defined in forms.css file

button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
...............
}


:oops: please ignore above

_________________________________________________________

showthread_quickreply template may be edited to modify required elements style ...
AND new css elements may be added to global.css file (at bottom) OR a new css file
(2011-11-18, 04:07 PM)ranjani Wrote: [ -> ]buttons related to forms are defined in forms.css file
button, 
input[type="reset"], 
input[type="button"], 
input[type="submit"] { 
............... 
}
showthread_quickreply template may be edited to modify required elements style ...
AND new css elements may be added to global.css file (at bottom) OR a new css file

thanks again for the followup !

found 'forum.css' but couldnt find 'forms.css'.

found in showthread_quickreply...
Quote:<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>

cant seem to find 'button' in .css files.

will keep looking.

suggestions ?


Quote:look at the gobutton class perhaps

thanks for the reply.

not finding 'gobutton' class in .css or templates.

ranjani 'showthread_quickreply' template suggestion seems to make sense, but cant find 'button' class.


(2011-11-18, 06:51 PM)akm Wrote: [ -> ]
(2011-11-18, 04:07 PM)ranjani Wrote: [ -> ]buttons related to forms are defined in forms.css file
button, 
input[type="reset"], 
input[type="button"], 
input[type="submit"] { 
............... 
}
showthread_quickreply template may be edited to modify required elements style ...
AND new css elements may be added to global.css file (at bottom) OR a new css file

thanks again for the followup !

found 'forum.css' but couldnt find 'forms.css'.

found in showthread_quickreply...
Quote:<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>

cant seem to find 'button' in .css files.

will keep looking.

suggestions ?


Quote:look at the gobutton class perhaps

thanks for the reply.

not finding 'gobutton' class in .css or templates.

ranjani 'showthread_quickreply' template suggestion seems to make sense, but cant find 'button' class.
global.css .button
^ some themes might consist of .button class in global.css .
if it does not exist then we can add .button class with required attributes ...
(2011-11-19, 04:21 PM)ranjani Wrote: [ -> ]^ some themes might consist of .button class in global.css .
if it does not exist then we can add .button class with required attributes ...

Needed to add '.button' in all (3) global.css files (maybe should change just /theme1/global.css and copy /theme1 over all others?) in /forum/theme(1,2,3) directories.
Still not sure why there are (3) themes, unless as backup as u suggested... but then why do they not duplicate each other when /theme1 is changed ?
Oh well, thats a minor question.

After added '.button', most buttons fonts were increased in size ! Shy

'browse' was one button that didnt change, but assume can find template in ACP templates and proceed similarly.

Thanks again for ur help !!