Need help? Check out our Support site, then


combining class elements help

  1. Hello

    almostartist.com

    after switching and changing CSS for 3 different themes i decided I should find a theme I like better with less changes

    I have only made a few changes to Nishita theme and happy with its simplicity

    having trouble though with wanting a 'signature' on some posts views and some pages but not all

    placement wise after some testing I determine that it worked best as a background-image in the div.sharedaddy

    div.sharedaddy {<br /> background:url('http://almostartist.files.wordpress.com/2012/02/almost_spot_sig.png') no-repeat center top;<br /> padding-top:100px;<br /> padding-bottom:20px;<br /> margin-top:30px;<br /> }

    only issue now though is that I really didnt want it on every page and not necessarily every post,

    not sure how to say I only want this in sharedaddy on post-1171 for example

    also not sure I want it on all the photo posts as it seems distracting a bit

    I guess what I am looking to do maybe is to have it appear at the bottom of posts but only when the viewer is on the actual post page (not summary) and only certain pages like 'copyright' and 'about' but not khanya pet photography

    hope that makes sense

    Thanks!

    The blog I need help with is almostartist.wordpress.com.

  2. If you put it in as a background in div.sharedaddy then it will be appear anywhere that div appears. CSS is just styling rules and declarations. You cannot use any sort of if-then-else statements or such in it.

    Insert it manually at the end of the content for whichever pages and posts you want it in.

  3. thanks thesacredpath

    ill do that then just wasnt sure if there was a way to say combine elements sharedaddy and a certain type of page

    ok but its a all or nothing

    thanks

  4. You are welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic