never_stop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Only one posts of each category on the home pagethanks 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?Forum: Fixing WordPress
In reply to: Postlist on the Home pageThank 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 :/
Forum: Fixing WordPress
In reply to: Linebreak breaks the words apartOh my God!
You cant really imagine,how much you helped me with that!!
It works as well!
Thank you so much!Forum: Fixing WordPress
In reply to: Different Backgrounds for each CategoryWell 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?
Forum: Fixing WordPress
In reply to: Different Backgrounds for each CategoryHey 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!Forum: Fixing WordPress
In reply to: Different Backgrounds for each CategoryOkay 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 !!
Forum: Fixing WordPress
In reply to: Different Backgrounds for each Categoryin 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>
Forum: Fixing WordPress
In reply to: Different Backgrounds for each Categorysorry,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?*/Forum: Fixing WordPress
In reply to: Different Backgrounds for each CategoryThankyou very much for the help!!
It works well!Forum: Fixing WordPress
In reply to: Different Backgrounds for each CategoryHi!
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!!