Forum Replies Created

Viewing 3 replies - 121 through 123 (of 123 total)
  • Thread Starter DesignLoud

    (@designloud)

    right, in firebug this is what I get for body classes when I look at the ‘contact page’ which uses the ‘contact template’

    <body class="page page-id-1833 page-template page-template-contact_page-php logged-in admin-bar">

    but I still cannot change that background image to just affect that page template without it affecting other page templates. Even when I try to remove bits and pieces of what wordpress spits out for the body class

    Thread Starter DesignLoud

    (@designloud)

    ok so Im giving this a shot (excuse the noviceness of my php) but is this what I would enter in my functions.php?
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    I guess I would put my custom js in my header.php along with the link to googles jquery library?

    This is what it looks like in my static html page (works fine)

    [Ditto]

    and of course for convenience purpose and trouble shooting here is the static link (roughly compiled):
    https://itestwebpageshere.biz/Untitled-4.html

    Thread Starter DesignLoud

    (@designloud)

    I already have this in m header:
    <body <?php body_class(); ?>>
    but for example if I go to firebug and try to copy the css path for that body element it returns as body.page rather than what I want which is for it to match the template so if I have three pages using one template I want it to be <body class="template1"> or something of the sort so I can easily style that in CSS and like wise for the other two templates and any pages that use them, like class=”template2″ and so on. Thanks for your help esmi.

Viewing 3 replies - 121 through 123 (of 123 total)