Image background for div class per page

Community Forums Forums Design Tips and Tricks Image background for div class per page

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33193

    sol
    Participant
    Post count: 10

    Hi,

    For my home page, i created a regular page, and assigned the #inner with a background image.

    I want a different#inner image for the different pages on the site.

    —————

    Can I edit the stylesheet to give a different background image for a different page, e.g

    .post-62 #inner {
    background-image: url(images/homeimage.jpg);

    and change the post number to reflect the differnt pages?

    For some reason Agentpress calls the Pages posts in the id? Is that normal?

    Thanks in advance

     

     

    #33204

    braddalton
    Participant
    Post count: 10675

    Yes, Try it in Firebug. Page i.d’s are sometimes called post i.d’s and category i.d’s are sometimes named tag i.d’s.

    Or you could use a custom class which you’ll find in your Layout settings on all edit post/page screens.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.