Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] How to create indented paragraphs in posts? (http://forum.bytesforall.com/showthread.php?t=18410)

ericmacknight Sep 19, 2012 03:15 AM

[SOLVED] How to create indented paragraphs in posts?
 
The default in Atahualpa is for block paragraphs in posts (i.e., without any indentation of the first line of each paragraph).

I want my posts to have indented paragraphs. This shouldn't be difficult, but despite all my searching of the Atahualpa Theme Options and this forum, I can't find the solution.

I am a CSS dummy, so please keep explanations at that level ;^).

Using Atahualpa 3.6.7.

Many thanks!

Eric

juggledad Sep 19, 2012 04:35 AM

Quote:

I am a CSS dummy, so please keep explanations at that level ;^).
ok, first assignment: do a google search for 'css indent' and see what you can find

ericmacknight Sep 19, 2012 08:00 AM

Hi juggledad.

I found these examples—

p {
margin: 0;
text-indent: 1.5em;

<style>
<!--
.tab { margin-left: 40px; }
-->
</style>

p
{
text-indent:50px;
}

all of which closely resemble Flynn's advice—

div.post p {
text-indent: 20px;
}

from http://forum.bytesforall.com/showthread.php?t=1127 (April 2009).

But I have put Flynn's code into HTML/CSS Inserts, to no avail in Safari, Chrome, and Firefox. I even cleared the cache in Chrome, just to make sure. I even created a test post, after inserting the code. All to no avail.

Any ideas?

Eric

lmilesw Sep 19, 2012 08:12 AM

It works fine for me.

juggledad Sep 19, 2012 08:13 AM

what is your url?

ericmacknight Sep 19, 2012 09:59 AM

http://www.EricMacKnight.com/igcse

lmilesw Sep 19, 2012 11:02 AM

HTML Code:

div.post p {
text-indent: 20px;
}

Works for me on your site. Where are you putting the CSS. I don't see div.post p in your CSS.

ericmacknight Sep 19, 2012 11:28 AM

lmilesw: THANK YOU!

I was putting the code into HTML/CSS Inserts in Atahualpa Theme Options.

Putting it into the css.php file, in the section headed "POST CONTAINER", did the trick.

Thanks again!

Eric

lmilesw Sep 19, 2012 01:04 PM

You shouldn't edit css.php. You SHOULD just put it in the CSS Inserts. Editing css.php will not survive an upgrade.


All times are GMT -6. The time now is 08:18 AM.

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