• Resolved Miklos

    (@miklos)


    Hello,

    Some of the links I added have long names which wrap beyond the short line in the column. As they are text-justified, they do not display nicely.

    In an attempt to change this, I tried changing the “before link” parameter from <li> to <li style="text-align:left"> or even to <li style=text-align:left> as the double-quotes appeared as back-quoted.

    Regardless of what I put, the resulting page does not include the added style information, merely the <li> tag.

    What did I do wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Miklos

    (@miklos)

    moshu

    (@moshu)

    It might be related to which template tag is used in your template to call the links list.
    See the Note in 1.Description: Template_Tags/get_links_list

    Thread Starter Miklos

    (@miklos)

    Thanks, this may solve the problem indeed, except that it would require reprogramming the sidebar.php file of that particular layout (classic), in which it just calls get_links_list() which obviously doesn’t do the job.

    I got around this by modifying the style.css file of that layout:

    1. added to the #menu ul ul li entry the following lines:
    text-align: left;
    text-indent: -7px;
    margin-left: 7px;

    2. added to the #menu ul ul ul.children the line:
    margin-left: -7px;

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“before link” fails (links manager)’ is closed to new replies.