Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

numbering lines


  #1  
Old May 13, 2013, 06:57 PM
RHCdG
 
162 posts · Nov 2009
Netherlands
Hi,

I would like to refer to specific lines in a poem as in this example (the page is in Dutch, please scroll to the bottom).

For some reason, in the Wordpress version of the same page, I can't get it right using the Word paste button in the wysiwyg editor. The numbering is off - please see the result here (again, please scroll down a bit).

As always, your help is much appreciated.

Thanks,

Rutger

Last edited by RHCdG; May 13, 2013 at 06:59 PM. Reason: improved language
  #2  
Old May 13, 2013, 07:44 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this, add the following to the CSS Inserts
HTML Code:
div.post-bodycopy p {margin: 0};
  #3  
Old May 13, 2013, 08:01 PM
RHCdG
 
162 posts · Nov 2009
Netherlands
Hi Juggledad,
Thanks for your reply.
It does solve the problem, miraculously I would almost say! but it makes empty lines between paragraphs on other pages disappear. In fact, the empty lines between the stanzas of the poem itself are gone too, I see now. Can you think of another trick?
  #4  
Old May 13, 2013, 08:35 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
ID add a class to the <td> of the number so I could style off that class
  #5  
Old May 16, 2013, 09:39 AM
RHCdG
 
162 posts · Nov 2009
Netherlands
Hi again, JD,

Code:
<td valign="top">
then becomes e.g.
Code:
<td valign="top" class="linenumber">
?

Code:
div.post-bodycopy p {margin: 0};
remains unchanged?

Thanks for confirming!

Rutger
  #6  
Old May 16, 2013, 10:03 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Your example CSS won't have any effect at all. It looks like you need to go thru a CSS tutorial.
  #7  
Old May 16, 2013, 10:13 AM
RHCdG
 
162 posts · Nov 2009
Netherlands
Well, I realize that the "linenumber" class would have to be defined but I am just not sure how to do that with div.post-bodycopy p {margin: 0}; and so I am asking in a roundabout way. It would be great if you could help out.
  #8  
Old May 16, 2013, 01:53 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
yes use
HTML Code:
<td valign="top" class="linenumber">
then try
HTML Code:
div.post-bodycopy td#linenumber p {margin: 0};
  #9  
Old May 16, 2013, 03:18 PM
RHCdG
 
162 posts · Nov 2009
Netherlands
Thanks, JD, for following up. I appreciate.
Unfortunately, it doesn't work. It looks perfect in the wysiwyg editor, but the output doesn't. There are line breaks where they shouldn't be, and the numbering is not correctly aligned.
Can you think of something still?

Bookmarks

Tags
numbering lines

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Greg's Comment Numbering Plugin and Styling Nolie Comments, trackbacks & pings 9 Sep 28, 2017 03:42 AM
[SOLVED] More option comment numbering on Byline. giacinto Post-Kicker, -Byline & -Footer 15 Apr 26, 2013 07:25 AM
How to change dashed lines into solid lines? simple23227 Atahualpa 3 Wordpress theme 1 Nov 18, 2012 10:57 AM
[SOLVED] Numbering Comments f14testing@gmail.com Comments, trackbacks & pings 7 May 25, 2010 12:14 AM
Please help... Comment numbering jmarsden92 Comments, trackbacks & pings 1 Jul 28, 2009 04:23 AM


All times are GMT -6. The time now is 04:34 PM.


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