• Hello guys

    I tried in every way to know how to change the background of a single template page; the only valid way was installing a plug in; but this solution does not satisfy me because it does not allow me to learn;
    I’m trying to figure out how to associate a css, style.css style file with its php, i do not know what, which is about to generate the html formatted, and how to add the code to customize the single background page

    I managed to create a duplicate of index.php renamed to template1.php and replace it as a custom template on the page; I do not know how though obviously being a copy takes cmq styles, i guess, always from original index.php and then from style.css.
    I created a style file called template1.css and I have no idea how to associate it with template1.php

Viewing 1 replies (of 1 total)
  • Anonymous User 12851872

    (@anonymized-12851872)

    Hi,

    In style. CSS did you indicate the page ID or this name ?

    body.page-id-33
    {
        background-image:url('example.gif');
        background-repeat:no-repeat;
        background-attachment:fixed;
    }

    or

    .page-template-name
    {
        background-image:url('example.gif');
        background-repeat:no-repeat;
        background-attachment:fixed;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘customized single page’ is closed to new replies.