• Wondering if you guys can help me out. I’ve having some trouble controlling certain WP elements via CSS. Please visit my site to get an idea of what I’m talking about:
    https://www.polynia.net/wp/index.php.
    Take a look at the first post, please, and either respond there via a comment or here instead.
    Thanks a bunch!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Gregor,
    Your “Links” title is not styled the same as the others —
    < li id=”links”>Links
    <span class=”sidetitle”>Recent Entries</span>
    If you wrap the Links in the same span class as the others, it will style the same as the others.

    <div id="menu">

    • <span class="sidetitle">Links</span>
    • <?php get_links_list(); ?>
    • <span class="sidetitle">Recent Entries</span>
    • Recent Entries PHP Here
    • <span class="sidetitle">Browse by Category</span>
    • <?php list_cats(0, 'All', 'name'); ?>

    '
    Drop your link header.... get_links_list automatically returns is.
    <div id=”menu”>

    • <?php get_links_list(); ?>
    • <span class=”sidetitle”>Recent Entries</span>
    • Recent Entries PHP Here
    • <span class=”sidetitle”>Browse by Category</span>
    • <?php list_cats(0, ‘All’, ‘name’); ?>

    get_links_list generates a nested list with ‘links’ at the top by default. I don’t know any way of applying an inline class to that header, so you would be better off applying the styles in .spantitle to the ul and, as TG says, getting rid of the separate header for links. Also makes for neater code.

    Putting things on the same line:
    In index.php is this:
    <div class="storycontent">
    <?php the_content(); ?>
    </div>

    the section between <div class="post"> and that above can go with the feedback div.
    That will put your info all on one line.
    If you get a carriage return, it’s probably because you have 2 styling divs, so you’ll have to choose which you want (it’s either h3 or feedback) to be applied.

    Quote above:

    • Recent Entries PHP Here
    • I have searched all over. I must be blind or it is a state secret. How do you list links to entries on WP???

    <?php get_archives('postbypost'); ?>
    this should do it…

    That worked! Awesome, thanks a million. I have to study this a lot more, I seen about that in the docs, but couldn’t quite grasp how to do exactly that. Need a php book…and to learn to read lol

    wiki is ur friend.

    thank you ??
    Me and my buddy wiki

    The word links can be deleted in admin/options/other options. HTH.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘CSS: Confused about some WP elements’ is closed to new replies.