• https://www.thirtysilverpieces.net
    Okay. Is there a way without overhauling the site to make the index.php page originally show a specified length, and then put a link that allows people to read further if they would like? I have the settings at 5 posts per day but I tend to write lengthy posts and clear the bottom margins of my menus pretty quickly.
    Secondly, I’d like to put buttons on my categories. I think this should be possible but I have no idea where to start. If someone knows a good resource on this question specifically, I’d be more than willing to check it out.
    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 2. You need to link a list style with your list cats.
    The list cats are menu ul li elements, so this should work:
    menu ul il {
    list style: url(‘button.gif’);
    }
    That will put a button next to each element that is menu ul li, but it will be the same button each time.
    If you want a different button, you’ll need to further define that statement to distinguish the id of each li – do a ‘View Source’ of your page and look at the links, you’ll see li id=”Links” and such for each cat. That’ll mean multiple statements.
    1. Isn’t that ‘posts paged’ ? I don’t use it so I’m not entirely sure..

    Thread Starter aestar

    (@aestar)

    I guess I was more wondering what should I do to tweak this in case categories get added through the admin panel and I don’t feel like making a button?
    <?php list_cats(0, ‘All’, ‘name’); ?>
    I viewed the source from my page after it loaded. Copied the codes of the categories listed and plugged in images for their text and pasted them in. I assume that’s how I need to do it if I want actual individual buttons for my categories. Unless there’s an easier way. ??
    However, what do I do to that up there to allow future categories made through the panel to be seen?

    Thread Starter aestar

    (@aestar)

    *bumps hopefully*

    Ah, here is where CSS shines. Instead of using premade buttons, you can style your category list to look like buttons. Instead of a unique button image for each category, output the category names as a list and style them with your button’s background.
    Reference the last section of ALA’s Taming Lists:
    https://www.alistapart.com/articles/taminglists/
    and ALA’s Sliding Doors of CSS
    https://www.alistapart.com/articles/slidingdoors/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A couple of questions . . .’ is closed to new replies.