Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Blogging Forum


You are currently viewing our Blogging Forum as a guest. Please register to participate.
Login



Reply
How can you change the appearance of a Wordpress blog?
Old 06-26-2011, 05:42 AM How can you change the appearance of a Wordpress blog?
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
Hi,


I just downloaded Wordpress 3.1.3.

I read that you can change the appearance of the blog through CSS.

How does this work? There are no HTML files, just php files.

I couldn't see any classes or divs or anything else...

I would like to change the column width, the font, create dotted lines betwen the posts, control line height and the width between characters.

On an HTML site I have divs and classes to apply CSS selectively.

How do I do that in WordPress files?

Do I really have to know php?
World is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-26-2011, 06:51 AM Re: How can you change the appearance of a Wordpress blog?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
The CSS should all be located in your theme's directory.

Quote:
Originally Posted by World View Post
Do I really have to know php?
It helps, but you should be able to get by without it if you're just making minor changes. It might make things easier to look at the HTML source rather than the PHP source (ie the html code sent to the browser). From there you can determine where in the PHP source you need to make changes. Only edit files in your theme directory.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 06-26-2011, 01:06 PM Re: How can you change the appearance of a Wordpress blog?
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
Quote:
Originally Posted by NullPointer View Post
It might make things easier to look at the HTML source rather than the PHP source
That's exactly the problem I'm experiencing: I can't find the HTML source. There are only php files in the downloaded WordPress software.

How do I get to see the HTML source?

Is it part of the php documents? There isn't even one single document for the whole layout. There's a header.php, footer.php, sidebar.php, etc.

How do I get to see the HTML source?

Last edited by World; 06-26-2011 at 01:08 PM..
World is offline
Reply With Quote
View Public Profile
 
Old 06-26-2011, 02:16 PM Re: How can you change the appearance of a Wordpress blog?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
The HTML source is the output of the PHP code. It is the data sent to the browser.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 06-26-2011, 03:10 PM Re: How can you change the appearance of a Wordpress blog?
Digital Friend's Avatar
...

Posts: 2,015
Name: Marc
Location: The Caribbean
Trades: 0
Quote:
Originally Posted by World View Post
How do I get to see the HTML source?
You'll need to learn a bit of PHP before editing your wordpress theme.

For a beginner, you should look at both the PHP code found in your control panel of WP and the data sent to the browser, by viewing the actual page's source code ( HTML ) to see how you're going to make your next edit.

WordPress was simply put together and it's user friendly, so you'll start understanding how to edit certain files to reach certain results quickly. ( WP Dashboard => Appearance => Editor )

Examples :
  • header.php - You know that you're editing the header of the page.
  • footer.php - You know that you're editing the footer of the page.
  • sidebar.php - You know that you're editing the side-bar of the page.
  • style.css - You know this is where you edit your CSS to style the page.

When you compare both codes, you will quickly notice similarities. Some PHP replaces the HTML in the control panel of a template, but when you view it on your browser, view the source code and you'll notice the HTML.

Something that can help you is HTML comment tags. You can insert them when editing the templates to see what is where on the actual page, when viewing the page source.

But, before wasting another second, review the basics of PHP : http://www.w3schools.com/php/
__________________
Blackberry Torch - Make it your next smartphone, or we'll find you. <_<
Digital Friend is offline
Reply With Quote
View Public Profile
 
Old 06-26-2011, 04:22 PM Re: How can you change the appearance of a Wordpress blog?
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
I am taking a look at php right now.

(I also just installed MAMP and installed a local test copy of wordpress on my local machine)

So, basically, the dynamic scripting language php outputs the static code html.

I'll get some basics down so I will know how this will work.
World is offline
Reply With Quote
View Public Profile
 
Old 07-01-2011, 03:34 AM Re: How can you change the appearance of a Wordpress blog?
Benmoore47's Avatar
Defies a Status

Posts: 1,532
Name: Benjamin Moore
Trades: 0
That will be nice, If you know how to do CSS then you can design your own blog.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Benmoore47 is offline
Reply With Quote
View Public Profile Visit Benmoore47's homepage!
 
Old 07-01-2011, 12:12 PM Re: How can you change the appearance of a Wordpress blog?
SiberForum's Avatar
canadian

Posts: 1,497
Trades: 0
The simple (no absolutely, however) way is to find the theme and template for wordpress that would have suitable parameters.
__________________

Please login or register to view this content. Registration is FREE
SiberForum is offline
Reply With Quote
View Public Profile
 
Old 07-04-2011, 01:29 AM Re: How can you change the appearance of a Wordpress blog?
Benmoore47's Avatar
Defies a Status

Posts: 1,532
Name: Benjamin Moore
Trades: 0
Using template is good but it is an advantage if you know how to do the codes.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Benmoore47 is offline
Reply With Quote
View Public Profile Visit Benmoore47's homepage!
 
Old 07-04-2011, 02:45 AM Re: How can you change the appearance of a Wordpress blog?
Jim Gillum's Avatar
Super Moderator

Posts: 4,519
Name: Jim Gillum
Location: Orange City, Florida
Trades: 0
One of my blogs allows many modifications directly from the control site...
click and it changes...
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
My Art Blog

Please login or register to view this content. Registration is FREE
The Groundhog
Jim Gillum is offline
Reply With Quote
View Public Profile Visit Jim Gillum's homepage!
 
Old 07-04-2011, 10:39 AM Re: How can you change the appearance of a Wordpress blog?
Webmaster Talker

Posts: 687
Name: Rob Smith
Trades: 0
Knowing code allows making a thin adjustment, while templates are always limited. But agree this is a simple way for the one who has not enough php skills.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
- Fully Managed Dedicated and since 1999.

Please login or register to view this content. Registration is FREE
- Low cost hosting from $2.79!
WebhostGIANT-Rob is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How can you change the appearance of a Wordpress blog?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.36490 seconds with 12 queries