Profile Picture

Customizing lists

Posted By Josh Korn 8 Years Ago
You don't have permission to rate!
Author
Message
Josh Korn
Posted 8 Years Ago
View Quick Profile
Forum Guru

Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 37, Visits: 76
The out-of-the-box bulleted and numbered lists are too jammed together to be read comfortably.

What I'd like to do is customize the format such that each item has a 10px padding-bottom attribute.

When I examine the generated HTML, however, I don't see any style attached to either the list or the items themselves...

How do I go about this?

Thanks in advance

Josh

Josh Korn

Igor
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)

Group: Administrators
Last Active: 3 Years Ago
Posts: 415, Visits: 592
Hi Josh,

You can customize "KWizCom_WikiPlus.css" file in "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\KWizCom_WikiPlus" folder on the server.

You can add there new style for list element. For Example:

li
{
    padding-bottom:10px;
}


Please let me know if it is good enough for you.

Igor,
KWizCom 
Edited
8 Years Ago by Igor
Josh Korn
Posted 8 Years Ago
View Quick Profile
Forum Guru

Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 37, Visits: 76
Igor:

I found that, of course, but it has ...um... side-effects.

In other words, the li{} item works not only on those paragraphs, but also on the embedded table of contents AND the Tag Tree.

What I need is something that works just on paragraphs of text in the wiki pages themselves, but the generated HTML doesn't seem to have a CSS class through which I can control its attributes only.

Hope this makes sense.

Josh

Josh Korn

Igor
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)

Group: Administrators
Last Active: 3 Years Ago
Posts: 415, Visits: 592
Hi Josh,

You can try to use the styles below:

li
{
padding-bottom:30px;
}

#toc li /*Style for Table of Content*/
{
padding-bottom:10px;
}


Please let me know if it is ok.

 



Igor,
KWizCom 
Edited
8 Years Ago by Igor
Josh Korn
Posted 8 Years Ago
View Quick Profile
Forum Guru

Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)Forum Guru (61 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 37, Visits: 76
Igor:

It works like a charm. Thanks very much.

Josh

Josh Korn



Similar Topics