bai
Junior Member
I coughed. Then I went into labor.
Posts: 209
inherit
tbsofficial@outlook.com
241711
0
Sept 23, 2018 14:23:39 GMT -8
bai
I coughed. Then I went into labor.
209
February 2017
bai
|
Post by bai on Jul 17, 2018 13:27:31 GMT -8
I searched PB (about 10 out of 25 pages) and even Google to find a code that fits my specific needs for having approx. 3 images appear over my forum header when the mouse hovers, but all of them are for tables that include staff, awards, and RPG info. On top of that the ones that semi-worked didn't work completely because my layout templates are set up very different from theirs and I had no idea how to adapt the code.
Can anyone help at all? I just need to be able to have three images.
|
|
inherit
249320
0
Sept 16, 2019 17:45:18 GMT -8
ᴘʀɪɴᴄᴇ ᴄᴜᴘɪᴅ
beans on toast
125
September 2017
noodlestars
|
Post by ᴘʀɪɴᴄᴇ ᴄᴜᴘɪᴅ on Jul 17, 2018 15:41:54 GMT -8
have you tried removing the code for tables etc. that come in pre-made ones and placing the image there instead?
|
|
bai
Junior Member
I coughed. Then I went into labor.
Posts: 209
inherit
tbsofficial@outlook.com
241711
0
Sept 23, 2018 14:23:39 GMT -8
bai
I coughed. Then I went into labor.
209
February 2017
bai
|
Post by bai on Jul 17, 2018 16:27:06 GMT -8
have you tried removing the code for tables etc. that come in pre-made ones and placing the image there instead?
I tried it on a few and it seemed to jack it up even more. Do you have any particular codes on this forum you would recommend? A few of the codes were from 2013, though I'm not sure if that makes a difference.
|
|
Nori
Junior Member
Posts: 483
inherit
182806
0
Nov 30, 2024 21:26:09 GMT -8
Nori
483
September 2012
nori
|
Post by Nori on Jul 17, 2018 20:08:19 GMT -8
At it's absolute simplest, to get a hover over banner you only need to do a couple things.
In the Forum Wrapper Layout Template... + Find the line: '<div id="banner-container" role="banner">' + Replace everything inside that div so it looks like the below...
Go into the Advanced Styles & CSS. At the bottom you need to essentially have this...
... Anything in red you can replace to whatever you want, and you can add more styling and etc to fit your needs. I didn't put anything but a single placeholder image in the Layout template cause I dunno what else you're doing. But basically whatever you want to show up in the Hover goes on the layout template, and if you want anything applied to the base, such as a background image, put it into the banner-base's CSS section.
|
|
bai
Junior Member
I coughed. Then I went into labor.
Posts: 209
inherit
tbsofficial@outlook.com
241711
0
Sept 23, 2018 14:23:39 GMT -8
bai
I coughed. Then I went into labor.
209
February 2017
bai
|
Post by bai on Jul 17, 2018 20:59:42 GMT -8
At it's absolute simplest, to get a hover over banner you only need to do a couple things. In the Forum Wrapper Layout Template... + Find the line: '<div id="banner-container" role="banner">' + Replace everything inside that div so it looks like the below... Go into the Advanced Styles & CSS. At the bottom you need to essentially have this... ... Anything in red you can replace to whatever you want, and you can add more styling and etc to fit your needs. I didn't put anything but a single placeholder image in the Layout template cause I dunno what else you're doing. But basically whatever you want to show up in the Hover goes on the layout template, and if you want anything applied to the base, such as a background image, put it into the banner-base's CSS section. it works but it completely took away the existing header pic I have. I was looking for an overlay.
|
|
Nori
Junior Member
Posts: 483
inherit
182806
0
Nov 30, 2024 21:26:09 GMT -8
Nori
483
September 2012
nori
|
Post by Nori on Jul 18, 2018 8:01:57 GMT -8
So add the image into the CSS as I mentioned... "...and if you want anything applied to the base, such as a background image, put it into the banner-base's CSS section." (though I errored and called it banner-base at the end ^^; sorry. Should be banner-container)
#banner-container { background-image: @banner_background_image; }
Or whatever the url to the images is
|
|
bai
Junior Member
I coughed. Then I went into labor.
Posts: 209
inherit
tbsofficial@outlook.com
241711
0
Sept 23, 2018 14:23:39 GMT -8
bai
I coughed. Then I went into labor.
209
February 2017
bai
|
Post by bai on Jul 18, 2018 8:30:15 GMT -8
So add the image into the CSS as I mentioned... "...and if you want anything applied to the base, such as a background image, put it into the banner-base's CSS section." (though I errored and called it banner-base at the end ^^; sorry. Should be banner-container) #banner-container { background-image: @banner_background_image; } Or whatever the url to the images is ahh i was clearly not reading carefully. sorry!
|
|
Nori
Junior Member
Posts: 483
inherit
182806
0
Nov 30, 2024 21:26:09 GMT -8
Nori
483
September 2012
nori
|
Post by Nori on Jul 18, 2018 8:38:56 GMT -8
No worries! I did misspell it xD I blame the heat.
Hope it all works for you and if you need anything else we're here :3 Cheers!
|
|