Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Indent first line of paragraphs in posts?


  #1  
Old Apr 6, 2009, 06:03 PM
RStouff
 
6 posts · Mar 2009
Indent first line of paragraphs in posts?

I'm working on a magazine-style layout with Atahualpa, and wondering if this is possible?
Thanks, great theme.
RS
  #2  
Old Apr 6, 2009, 06:45 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
It's possible to make it a "magazine theme" but that requires a good deal of theme file edits or plugins. Not sure if you just meant what you have in the thread title or a magazine style with all bells and whistles such as thumbnails on the homepage etc...
  #3  
Old Apr 6, 2009, 07:04 PM
RStouff
 
6 posts · Mar 2009
Naw, it's not so sophisticated as all that. I just want to indent paragraphs in posts, which are in fact the articles of the ezine, to make it look more like typography.
Thanks!
  #4  
Old Apr 6, 2009, 07:07 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try HTML/CSS Inserts -> CSS Inserts

HTML Code:
div.post p { 
text-indent: 20px;
}
  #5  
Old Apr 6, 2009, 07:16 PM
RStouff
 
6 posts · Mar 2009
Hmm, didn't apply to existing trial posts...should I try a new one?
  #6  
Old Apr 6, 2009, 07:43 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
In which browser did it not work?

Do you have a cache running?
Do your posts not contain <p>...</p> paragraphs?
  #7  
Old Mar 27, 2011, 12:47 AM
AJHackett
 
15 posts · Mar 2011
This code worked perfectly. I'm just starting out. I went to W3Schools and figured out most of the code, but your post was wonderful.

My issue is that, at times the indent is not appropriate. How does one undo the global code for particular lines or situations? Example: the indent is asserting itself in my blog at the complimentory close and the signature. I have contact info below the signature which is not indented and it looks wierd. Please see www.CoachMitch.com

The below code did not work when I inserted it prior to my signature?
}
div.post p {
text-indent: 0px;
}

Thanks very much
  #8  
Old Mar 27, 2011, 02:37 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you want to get rid of it for a particular post, you will have to make the CSS selector more selective. Each post has a class of the post ID, so you could use that
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Creating paragraphs to divide various subjects on one page Chester Post-Kicker, -Byline & -Footer 7 Jun 16, 2009 06:59 AM
[SOLVED] Paragraphs drop out of blockquotes on post pages deucegeary Atahualpa 3 Wordpress theme 2 Jun 6, 2009 01:36 PM
[SOLVED] Wonky comment indent lctkw Comments, trackbacks & pings 1 Apr 5, 2009 02:05 PM
How to change dotted border line in the layout to solid line? araneum Atahualpa 3 Wordpress theme 1 Feb 21, 2009 06:40 PM
How to Set Padding around "Body" of Posts / Cut Indent? jkestler Atahualpa 3 Wordpress theme 2 Feb 18, 2009 10:12 AM


All times are GMT -6. The time now is 07:42 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.