• Resolved FunnyBunnyHelena

    (@funnybunnyhelena)


    Hello!
    I would like to make the parent category title have “fatter” formatting.

    For example if I have parent category at H3 and child category at H5 or something like that.

    How can I do that? Or do I have to do it in style sheets?

    If I also can indent the child category?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Each section of Link Library has a class indicating the level of the hierarchy. So if you were to add a rule like the following to the Link Library stylesheet editor, you will be able to style each level as you want:

    .level0 .linklistcatname {
    … my style …
    }

    .level1 .linklistcatname {
    … my second style …
    }

    Let me know if this helps and please consider donating to support this plugin’s development.

    Thread Starter FunnyBunnyHelena

    (@funnybunnyhelena)

    Hello!
    Thank you for your reply.

    I have tried but the id .linklistcatname is not even generated on the page itself.

    Here’s a portion of the page code itself generated.

    <div id='linklist1' class='linklist'><!-- Div Linklist -->
    <div class="LinkLibraryCat LinkLibraryCat258 level0"><!-- Div Category --><div id="vintage-my-little-pony"><!-- Div Category Name --><h5>Vintage My Little Pony</h5></div><!-- Div Category Name --><div class="LinkLibraryCat LinkLibraryCat257 childlevel level1"><!-- Div Category --><div id="my-little-pony-customization-and-restoration"><!-- Div Category Name --><h5>Customization and Restoration Tutorials</h5></div><!-- Div Category Name -->
    	<ul>

    In this code area I would like the “Vintage My Little Pony” to be fatter than “Customization and Restoration Tutorials”. Whatever I do either make them all fatter or nothing happens.

    Site link:
    https://www.funnybunny.se/links/

    Thread Starter FunnyBunnyHelena

    (@funnybunnyhelena)

    Nevermind I solved by doing this css:

    .level0 h5 {
    font-size: 30px;
    }
    
    .level1 h5 {
    font-size: 25px;
    }
    Plugin Author Yannick Lefebvre

    (@jackdewey)

    That would do it. I did not know all of the configuration options you had selected. Glad to hear you found a solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make the Parent Category look larger’ is closed to new replies.