![]() |
Add backround image to quickreply and reply boxes (using Inline CSS,Template Edits)
Brvheart's - Add backround image to quickreply and reply boxes
----------------------------------------------------------------------------------------------------------------- This is a few simple template edits, I have seen this done via CSS but could not get it to work without the image scrolling out of view, so I decided to play around and see if I could get it to work in a different manner. I was not able to find the original thread that I saw this in with the CSS edits etc, if I find it I will gladly give credit for the original idea to the author. EDIT - Original hack here by Ev!L ErN!E See Directions below. The image should be uploaded to your images directory and be around 330 x 89 in size. I will upload the one I am using as a base. **************note************* the "background:#262626 in the below code needs to be change to fit your backround color, this is mine that I used, make sure to change it for your style on your board. **************end note********* ----------------------------------------------------------------------------------------------------------------- Details: Files to upload: 1 - to images folder Template edits: Editor Templates editor_toolbar_off editor_toolbar_on Show Thread Templates showthread_quickreply Live Demo - here please click install --------------------------------------------------------- Instructions: in editor_toolbar_off find: PHP Code:
PHP Code:
in editor_toolbar_on find (towards bottom of template): PHP Code:
PHP Code:
in showthread_quickreply find (towards bottom of template): There will be 2 instances of the below at the end of the template, you are looking for the second one PHP Code:
PHP Code:
|
*reserved*
|
Looks good - Thanx for the share ;)
Jacquii. |
Quote:
|
It's kinda the same thing as editing the Main CSS.
|
without editing the CSS, and without running in to the scrolling issue that some were running in to....
|
Cool idea. Cant get it to work with my template though. :mad:
Would be cool if there were a way to make the images rotate, like 3 or 4 random images. |
why wont it work with your template? What was the issue?
|
This is still CSS... Just inline CSS.
TO fix the scrolling issue, you just have to apply the style to the appropriate element, which you did inline. It can be handled in MainCSS as well but you would probably need to add your own inline class. |
Quote:
|
All times are GMT. The time now is 06:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|