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 » Center area post/pages »

numbering lines


  #1  
Old May 13, 2013, 07:57 PM
RHCdG
 
170 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 07:59 PM. Reason: improved language
  #2  
Old May 13, 2013, 08:44 PM
juggledad's Avatar
juggledad
 
23,765 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, 09:01 PM
RHCdG
 
170 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, 09:35 PM
juggledad's Avatar
juggledad
 
23,765 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, 10:39 AM
RHCdG
 
170 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, 11:03 AM
juggledad's Avatar
juggledad
 
23,765 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, 11:13 AM
RHCdG
 
170 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, 02:53 PM
juggledad's Avatar
juggledad
 
23,765 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, 04:18 PM
RHCdG
 
170 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 04:42 AM
[SOLVED] More option comment numbering on Byline. giacinto Post-Kicker, -Byline & -Footer 15 Apr 26, 2013 08:25 AM
How to change dashed lines into solid lines? simple23227 Atahualpa 3 Wordpress theme 1 Nov 18, 2012 11:57 AM
[SOLVED] Numbering Comments f14testing@gmail.com Comments, trackbacks & pings 7 May 25, 2010 01:14 AM
Please help... Comment numbering jmarsden92 Comments, trackbacks & pings 1 Jul 28, 2009 05:23 AM


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


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