CSS Boxes (Info,Success,Warning...) - Printable Version +- Makestation (https://makestation.net) +-- Forum: Technical Arts (https://makestation.net/forumdisplay.php?fid=45) +--- Forum: Web Design & Internet (https://makestation.net/forumdisplay.php?fid=62) +---- Forum: Resources & Tutorials (https://makestation.net/forumdisplay.php?fid=56) +---- Thread: CSS Boxes (Info,Success,Warning...) (/showthread.php?tid=395) |
CSS Boxes (Info,Success,Warning...) - Damian B. - August 19th, 2013 Hello. I'll show you how to use boxes like this one in your mybb forum! (Preview can be found here.) Step 1: Go to: Admin CP/ Templates & Styles / Default / global.css / Edit StyleSheet Advanced mode and paste this code: Code: .info, .success, .warning, .error, .mes, .tips, .chat, .cnb Step 2: Go to Admin CP / Configuration / Mycode / Add new MyCode and enter a title and a description. Paste this to Regural Expression: Code: \[info\](.*?)\[/info\] Code: <div class="info">$1</div> Step 3: Use this whenever you want to have that box in your post: Code: [info] Text here. [/info] You can do this for info, success, warning, error, tips, mes and chat. Just re-do the step 2 replacing the word "info" with one of the above. Note: I didn't make the code for this nor the graphics. I just made the tutorial on how to do this for mybb. |