Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2105 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

WordPress Coding

Thread title: WordPress Coding
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
12-18-2005, 09:21 AM
#1
Gethin is offline Gethin
Gethin's Avatar
Status: Developer
Join date: Nov 2004
Location: In my house
Expertise:
Software:
 
Posts: 2,323
iTrader: 0 / 0%
 

Gethin is on a distinguished road

Send a message via MSN to Gethin

  Old  WordPress Coding

Hi all, I've recently designed a new theme for my two blogs, although I've just been working on getting it up and running on my work blog.

I'm pretty happy with myself, I'm not a coder and have very little knowledge of html/css/php but I've managed to work most of wordpress out.

I edited the classic theme already installed with wordpress to code my skin. I've basically thrown everything into the header file and it's worked out great

There's just a few things that I now can't work out...

http://work.gethinoakes.com/


If you scroll down, you'll see at the bottom

Sorry, no posts matched your criteria.

— Next Page »
This has been bugging me, and I don't know how to remove it as I cannot find where it is coming from!


Also, with my css, if you take a look at my work blog:
http://work.gethinoakes.com/

What I need help with are the following things:
1) Creating space between each new post
2) lowering the font size to 10px on the part that sais stuff like

Filed under: General — Administrator @ 7:15 pm
3) Lowering the font size to 10px on 'comments' and'next page'


Help much appreciated

12-18-2005, 10:59 AM
#2
Gille is offline Gille
Status: HTML & CSS Guru
Join date: Mar 2005
Location: Ghent, Belgium
Expertise: HTML, CSS
Software:
 
Posts: 1,226
iTrader: 13 / 100%
 

Gille is on a distinguished road

Send a message via MSN to Gille

  Old

Make sure that your error report is between this piece of code :
Code:
<?php endwhile; else: ?>
and this one
Code:
<?php endif; ?>
About the css questions, I think it's best to give them a different class and for the spacing, maybe a
Code:
margin-bottom:10px
or something for it ?

12-18-2005, 12:07 PM
#3
Gethin is offline Gethin
Gethin's Avatar
Status: Developer
Join date: Nov 2004
Location: In my house
Expertise:
Software:
 
Posts: 2,323
iTrader: 0 / 0%
 

Gethin is on a distinguished road

Send a message via MSN to Gethin

  Old

Code:
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
I have that in the template, is that what you were talking about?

And not being a css guy, where would I add that bit of css, and how would i add it into the main template?

12-18-2005, 01:14 PM
#4
Gille is offline Gille
Status: HTML & CSS Guru
Join date: Mar 2005
Location: Ghent, Belgium
Expertise: HTML, CSS
Software:
 
Posts: 1,226
iTrader: 13 / 100%
 

Gille is on a distinguished road

Send a message via MSN to Gille

  Old

Strange. If you have it it should be working. As for the css, just add to the css of your entire newspost the following :
margin-bottom:10px;
you can of course decide how much space you want for yourself

12-18-2005, 01:23 PM
#5
Gethin is offline Gethin
Gethin's Avatar
Status: Developer
Join date: Nov 2004
Location: In my house
Expertise:
Software:
 
Posts: 2,323
iTrader: 0 / 0%
 

Gethin is on a distinguished road

Send a message via MSN to Gethin

  Old

Originally Posted by KushReNaDa
Strange. If you have it it should be working. As for the css, just add to the css of your entire newspost the following :
margin-bottom:10px;
you can of course decide how much space you want for yourself
I've got rid of that bit messing up the bottom of the design now, messed around with the index file (just deleted all that was in it and put all the code from header.php in it )

But... lol I may sound stupid but about the css again, where do I put that code in the css... and then in the html/php how does it know where that will go?

as in the css I already see a lot of margin code for various things, and even if i added this, how would the html/php code know where to have it?

If you get me


Another problem I have is the vertical stretch of the whole design, I have the main area table set to 100% vertical - yet it is going way past that and making the page scroll when it shouldn't!

Help

12-18-2005, 02:02 PM
#6
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old


But... lol I may sound stupid but about the css again, where do I put that code in the css... and then in the html/php how does it know where that will go?
You would add that CSS code to the Post class, which should show up as .post in your CSS file.


as in the css I already see a lot of margin code for various things, and even if i added this, how would the html/php code know where to have it?
The CSS code would know where to add the margin, because you have told it to by placing the margin, in the .post section of your CSS file.


Another problem I have is the vertical stretch of the whole design, I have the main area table set to 100% vertical - yet it is going way past that and making the page scroll when it shouldn't!
As for the table problem, I'm using firefox and there doesn't seem to be a problem. Is it an Internet Explorer problem?

12-18-2005, 03:12 PM
#7
Gethin is offline Gethin
Gethin's Avatar
Status: Developer
Join date: Nov 2004
Location: In my house
Expertise:
Software:
 
Posts: 2,323
iTrader: 0 / 0%
 

Gethin is on a distinguished road

Send a message via MSN to Gethin

  Old

I'm using Firefox and it stretches more than 100%

I couldn't find the .post, but I've worked it out another way now (just have to put up with the space at the top before any post)

12-18-2005, 03:43 PM
#8
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

Hmm, I don't know about the stretching, but in your CSS file, you could do the spacing another way by changing this piece of code:
Code:
.feedback {
	font: 70% 'Tahoma';
	letter-spacing: 0px;
}
To this:
Code:
.feedback {
	font: 70% 'Tahoma';
	letter-spacing: 0px;
	margin-bottom: 10px
}
And then removing the piece of code you added to get the spacing before the date.

12-18-2005, 04:21 PM
#9
Wish is offline Wish
Status: Visual Scene
Join date: Jun 2005
Location:
Expertise:
Software:
 
Posts: 1,469
iTrader: 0 / 0%
 

Wish is on a distinguished road

  Old

Although you are asking for help I must commend you on a very nice design. Love the orange colours in the banner. Nice job all looks fine for me.

12-18-2005, 05:33 PM
#10
Gethin is offline Gethin
Gethin's Avatar
Status: Developer
Join date: Nov 2004
Location: In my house
Expertise:
Software:
 
Posts: 2,323
iTrader: 0 / 0%
 

Gethin is on a distinguished road

Send a message via MSN to Gethin

  Old

Ah! Thank you joe, that worked... thanks mate.
Still can't fix that scrolling problem though

Oh and Wish, thank you very much for your nice comments, I'm about to skin my personal blog with the blue version of the design, when that's up I'll post them both in the gallery showcase


One other CSS problem - the text that is under the post title...

Filed under: General — Administrator @ 7:15 pm
How do I make that 11px?

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed