Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter never_stop

    (@never_stop)

    thanks for the advice,but i tried already this way,and maybe because im stupid or something,i cant make it work!
    I thought about,what if tha sidebar widget displays the the last 5recent post,and i write that in to the index.php…can it work somehow?

    Thread Starter never_stop

    (@never_stop)

    Thank you!But one more thing!
    It works as well,but how can i add a little link,that says”more” and it takes me to the full post page?

    </section>
        <section class="entry">
          <?php the_post_thumbnail('thumbnail');
    			the_excerpt('More');?>
        </section>

    i thought that’ll be working but it doesnt want to :/

    Thread Starter never_stop

    (@never_stop)

    Oh my God!
    You cant really imagine,how much you helped me with that!!
    It works as well!
    Thank you so much!

    never_stop

    (@never_stop)

    Well im looking for the same version of the problem solving,as it was before…so the body.category-something{} but i dont know how to use it,when i want to change the header picture…

    i tried body.category-something #header{} but it wont work..

    can somebody help?

    never_stop

    (@never_stop)

    Hey guys!

    Now i’ve got the same problem as before with the content bg ,but now i want the header image to change when a nother category was clicked!

    So for example,to be sure you understand what im asking:
    i got 4 categories (car,airplane,motorcycle,train)
    when the train category was clicked in the menu,the default header image (wich is 240h and 900w) changes to a specific train header picture(and so does the car,airplane…)

    I hope you can help me again!
    thx!

    never_stop

    (@never_stop)

    Okay im sorry,i dont know what was the miss typing,but when i looked at my site on the localhost server everything worked as they should!!
    maybe by browsers cache stored,the old version.. so,the code i posted before this is working as well!

    thanks for the help !!

    never_stop

    (@never_stop)

    in the css

    body{
    font:12px/1.5 Helvetica,Tahoma,Arial,sans-serif;color:#000000;text-align:center;}
    body.category-lenovo #content {
    background-color:#333a5e;
    }
    body.category-sony #content {
    background-color:#999999;
    }
    body.category-apple #content {
    background-image:url(images/content_bg1.jpg);
    background-repeat:repeat;
    }
    body.category-dell #content {
    background-color:red;
    }

    and in the index.php

    </head>
    <body <?php body_class();?>>
    <section id="wrapper">
    <header>
    never_stop

    (@never_stop)

    sorry,but i have a nother problem about that.:/
    this method is ok and working well if the background is a simple color code.But if i change that to background-image i wont display anything,but a white background.

    can you tell my me why??

    thx!!

    /*
    my tip is that the body tag has already have a background color as default,and if i write a background picture to a specific category,the main content-background overwrite it,to the main bg-color…is that possible?*/

    never_stop

    (@never_stop)

    Thankyou very much for the help!!
    It works well!

    never_stop

    (@never_stop)

    Hi!
    I’m looking for the same code,exapt that i want to change a background color not in the body,but in the content part.

    So on each category a basic website background stays the same,but a content background changes like if the category is “space” it changes to a specific space background in the content part!

    I hope you can help me fix this.
    Thanks a lot!!

Viewing 10 replies - 1 through 10 (of 10 total)