The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spectral
#34
(2016-10-06, 01:04:48)Timbow Wrote: The banner image is a background image defined in the main css. Be aware the landing page background has its own css and in both cases they have transparent gradient overlays making the image darkish which you may or may not want to keep. The templates have <body id="page-slug" > (eg if your page has the slug "contact" or "about-us" then the body has that html id) so we can use that to style individual pages.

So open the main css, find  line 3630, this declaration:
Code:
    #main > header {
        padding: 12em 0 10em 0 ;
        background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
        background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
        background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
        background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
        background-attachment: fixed;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        text-align: center;
    }

and below it or at the end of the file or even in the head section of the template paste what you want different for your specific page, something like this:
Code:
    #page-slug #main > header {
        background-image:  url("../../images/something.jpg");
    }

I am away and can't test it but I think that will work. You get the idea anyway I am sure.
Hi, i try this but sadly it didn't work - i would be very happy if i could style individual headerimages for my pages. 
If you have any other suggestions pls. let me know. best l5
Reply


Messages In This Thread
Spectral - by Timbow - 2016-09-06, 00:46:18
RE: Spectral - by Timbow - 2016-09-06, 23:09:56
RE: Spectral - by kazu2015 - 2016-09-13, 21:25:34
RE: Spectral - by kazu2015 - 2016-09-13, 21:59:47
RE: Spectral - by Timbow - 2016-09-13, 22:51:07
RE: Spectral - by kazu2015 - 2016-09-15, 01:46:43
RE: Spectral - by borg - 2016-10-05, 03:29:59
RE: Spectral - by Timbow - 2016-10-06, 01:04:48
RE: Spectral - by level.five - 2017-12-30, 08:13:14
RE: Spectral - by Timbow - 2017-12-30, 09:32:02
RE: Spectral - by level.five - 2017-12-30, 10:24:50
RE: Spectral - by kazu2015 - 2016-11-03, 21:27:11
RE: Spectral - by kazu2015 - 2016-11-04, 11:25:45
RE: Spectral - by Timbow - 2016-11-04, 23:14:43
RE: Spectral - by kazu2015 - 2016-11-04, 16:52:33
RE: Spectral - by Raeven - 2016-11-04, 22:56:29
RE: Spectral - by Timbow - 2016-11-04, 23:27:56
RE: Spectral - by kazu2015 - 2016-11-05, 00:17:01
RE: Spectral - by bgpress - 2016-12-21, 01:48:17
RE: Spectral - by Timbow - 2016-12-21, 03:46:42
RE: Spectral - by bgpress - 2016-12-21, 18:45:27
RE: Spectral - by Timbow - 2016-12-21, 21:59:04
RE: Spectral - by bgpress - 2016-12-21, 23:01:56
RE: Spectral - by Timbow - 2016-12-22, 05:36:10
RE: Spectral - by bgpress - 2016-12-22, 14:52:16
RE: Spectral - by intelex - 2017-08-25, 22:13:59
RE: Spectral - by Timbow - 2017-08-25, 22:33:15
RE: Spectral - by daveyz - 2017-08-27, 23:52:35
RE: Spectral - by Timbow - 2017-08-28, 00:54:21
RE: Spectral - by daveyz - 2017-08-28, 01:19:08
RE: Spectral - by daveyz - 2017-08-28, 05:56:56
RE: Spectral - by Timbow - 2017-08-28, 07:28:58
RE: Spectral - by daveyz - 2017-08-28, 09:56:59
RE: Spectral - by flynn - 2017-09-12, 18:13:17
RE: Spectral - by Timbow - 2017-09-12, 19:41:59
RE: Spectral - by flynn - 2017-09-12, 22:28:47
RE: Spectral - by davetest - 2018-01-07, 14:12:25
RE: Spectral - by Timbow - 2018-01-08, 08:56:33
RE: Spectral - by frostor - 2019-03-09, 11:32:13
RE: Spectral - by chafidz - 2019-12-05, 14:46:34
RE: Spectral - by Timbow - 2019-12-05, 21:03:47
RE: Spectral - by datiswous - 2019-12-06, 05:38:26
RE: Spectral - by Timbow - 2019-12-07, 08:02:26
RE: Spectral - by poorboy2 - 2020-01-26, 00:59:59
RE: Spectral - by poorboy2 - 2020-01-26, 03:38:39



Users browsing this thread: 1 Guest(s)