Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
FeigelInc Posted Tuesday at 07:09 PM Posted Tuesday at 07:09 PM How do I add a background image to the header?
Drewfus Posted Tuesday at 07:48 PM Posted Tuesday at 07:48 PM (edited) .ipsHeader__primary { background-image: url(your image here); width: 100%; height: 450px; background-position: center top; background-size: cover; background-repeat: no-repeat; } change height if you like also position . Edited Tuesday at 07:48 PM by Drewfus SC36DC 1
FeigelInc Posted Tuesday at 07:50 PM Author Posted Tuesday at 07:50 PM Thank you so much for your help.
Drewfus Posted Tuesday at 07:54 PM Posted Tuesday at 07:54 PM (edited) your welcome if you want image in side nav panel .ipsNavPanel .ipsLogo { background-image: url(https://your image/here.png); width: 100%; background-position: center bottom; background-size: cover; background-repeat: no-repeat; } same adjust position of image center center, center top or center bottom Edited Tuesday at 07:55 PM by Drewfus SC36DC 1
SoloInter Posted Tuesday at 08:46 PM Posted Tuesday at 08:46 PM Thanks @Drewfus. About the mobile header ? Please 😬 SC36DC 1
SoloInter Posted Tuesday at 10:07 PM Posted Tuesday at 10:07 PM Got it : .ipsMobileHeader { background-image: url(https://your image/here.png); width: 100%; background-position: center bottom; background-size:cover; background-repeat: no-repeat; }
FeigelInc Posted Tuesday at 11:06 PM Author Posted Tuesday at 11:06 PM Now only if I knew how to update my categories and navigation with background images. That'll be lovely.
SoloInter Posted Tuesday at 11:52 PM Posted Tuesday at 11:52 PM (edited) For forum categories titles : .ipsBox__header { For widget titles : .ipsWidget__header { Edited Tuesday at 11:52 PM by SoloInter
Drewfus Posted Tuesday at 11:53 PM Posted Tuesday at 11:53 PM .ipsWidget__header { background-image: url(https://yoursite/images/pic.png); width: 100%; border-top-left-radius: inherit; border-top-right-radius: inherit; border-bottom: 1px solid #EEEA65; background-position: center bottom; background-size: cover; background-repeat: no-repeat; }
FeigelInc Posted Tuesday at 11:58 PM Author Posted Tuesday at 11:58 PM Thanks guys. This worked out well.
FeigelInc Posted 20 hours ago Author Posted 20 hours ago (edited) Sorry to hijack this again, how does one put a background on a forum discussion/subforum? Like forum number 7 for instance. Edited 20 hours ago by FeigelInc
SoloInter Posted 20 hours ago Posted 20 hours ago (edited) Screenshot the zone you are speaking about. Because this : .ipsBox__header This should change home forum and categories forum. >> home : Index forum with BG titles set up >> Categories : Subforum BG titles Edited 20 hours ago by SoloInter
FeigelInc Posted 20 hours ago Author Posted 20 hours ago I want to add a background to Monday Night Ward for instance on my website. Forums - Asylum Wrestling Society
SoloInter Posted 20 hours ago Posted 20 hours ago On this page ? : https://awsefed.com/index.php?/forum/20-televised-events/
FeigelInc Posted 20 hours ago Author Posted 20 hours ago I tried the old code below but it didn't work.
Marco Junior Posted 20 hours ago Posted 20 hours ago I use bg header 😄 https://community.lightningmu.net/
Marco Junior Posted 19 hours ago Posted 19 hours ago @FeigelInc Inspect element and add a custom css ! This work fine.
FeigelInc Posted 19 hours ago Author Posted 19 hours ago How do you do it code wise? I tried the old way and it doesn't work for me.
Marco Junior Posted 19 hours ago Posted 19 hours ago @Feigel Inc. For all block? or only this specific block selected by you !
FeigelInc Posted 19 hours ago Author Posted 19 hours ago Just the specific block, that way I can use the code to do the rest.
Recommended Posts