0
Welcome Guest! Login
0 items Join Now

SOLVED background image in the header

    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED background image in the header

    Posted 10 years 10 months ago
    • You can't have parameters for every aspect of your site.
      It would make your site very slow.
  • Re: SOLVED background image in the header

    Posted 5 years 9 months ago
    • Hello,
      I am trying to change or better to set background-image for the header in my Supra theme. see below:

      <header id="g-header" class="section section-horizontal-paddings section-vertical-paddings fp-noscroll fp-section fp-table active fp-completely" style="height: 842px;">.....

      What i've done:
      1. Create dir: /wp-content/themes/rt_supra/custom/css-compiled/scss
      2. Put in file: custom.scss
      3. Add css to file:
      #rt-header {
      background: url('https://domain/wp-content/uploads/2018/06/wallpaper-e1529327212932.png');
      }

      It wont work...

      If I put background: url('https://domain/wp-content/uploads/2018/06/wallpaper-e1529327212932.png'); in the browser inspector the bg-image is displayed.

      Please help, befor i get mad :)
      Thanks in advance!!
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED background image in the header

    Posted 5 years 9 months ago
  • Re: SOLVED background image in the header

    Posted 5 years 9 months ago
    • Its working! Thanks for that quick response. You were right, the scss/cusom.scss were in a wrong path.

      Best Regards.

Time to create page: 0.044 seconds