Background pattern

5 replies · opened Sep 11, 2022

MmschejbalSep 11, 2022

Hello again,

I decided to use the background pattern title and I'm trying to have a different pattern on each page so I tried to create various instances in style.css, eg:

/* Page Title - Background Pattern
-----------------------------------------------------------------*/
.page-title-pattern {
background-image: url('images/pattern.png');
background-repeat: repeat;
background-attachment: fixed;
}
page-title-pattern-discography {
background-image: url('images/pattern-discography.png');
background-repeat: repeat;
background-attachment: fixed;
}

etc.

Also modifying the given page:
<section id="page-title" class="page-title-pattern-dicography dark">

This doesn't work though, what am I missing?

Thanks,
Maciek

SSemicolon WebSTAFFSep 12, 2022

Hello,

The page-title-pattern-discography is missing the Dot (.) which defines it as a class in CSS. Also, consider adding Custom CSS Codes in the css/custom.css File so that when we release updates, it is easier for you to update your Websites.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

MmschejbalSep 12, 2022

I added the dot to the class in both style.css and custom.css, still no luck...

SSemicolon WebSTAFFSep 12, 2022

Hello,

The CSS Code is fine now but the URL to the Image does not seem to exist: https://johnpatitucci.com/john_new/css/images/pattern-discography.png . Make sure you have uploaded this image online. Additionally, you just need this code in the css/custom.css File and not in both.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

MmschejbalSep 12, 2022

Oh, so sorry, of course!

SSemicolon WebSTAFFSep 13, 2022

Very Happy to Help :)

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard