ThemeShaper Forums » Acamas

Acamas: few questions

(8 posts)
  • Started 5 years ago by Queequeg
  • Latest reply from Queequeg

Tags:

  1. Queequeg
    Member

    I just wanted to ask a few of questions. The third is a bit odd though!

    Question 1 & 2:

    What changes do i need to make in order to show the excerpt for each post on the main page?

    And, how would i center the navigation links?

    Question 3:

    I'm wondering if it's necessary to call the sidebar using <?php get_sidebar() ?> on the following pages:

    Archives.php
    archive.php
    tag.php
    category.php
    search.php

    If i remove the small piece of code calling the sidebar on these pages, will it affect the way the theme runs at all? Or is it okay to do this?

    I ask because on my sidebar.php i inserted an iframe above the primary/main asides, and though the sidebar itself is not visible on the above pages, the iframe i included is, which then appears over the archived content info (the author, 'posted in' & 'tagged' details etc) where it doesn't belong. Removing the line of code calling to the sidebar fixed this, but i am worried it will cause a hiccup with another aspect of the theme by doing so.

    I hope i haven't caused confusion.

    Posted 5 years ago #
  2. Question 1 & 2:

    You'd have to alter the stylesheet so it wasn't using {display:none;} and adapt the following code found here:

    http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files

    #menu {margin:0 auto;} should center the menu (I haven't tested that though.)

    Question 3:

    It's not necessary, but you'd have to edit Thematic to get rid of it.

    Posted 5 years ago #
  3. Oh and try . archive iframe {display:none;} or even . archive iframe {display:none !important;}. That might help.

    Posted 5 years ago #
  4. Queequeg
    Member

    thankyou!!

    i am going to give this a go tomorrow :D

    Posted 5 years ago #
  5. Queequeg
    Member

    So i gave this all a go, and the code to hide the iframes on the archive pages works well, thanks!

    But, i still cannot get the menu to appear in the middle, and i'm having trouble getting the excerpt to show... :(

    I followed the guide on the link you posted, but i must be doing something wrong. All the code on that site goes in the functions.php file, right?

    Posted 5 years ago #
  6. That's right, in functions.php.

    I'll look into centering the menu.

    Posted 5 years ago #
  7. Here's a good tutorial on centering your menu:

    http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.html

    Posted 5 years ago #
  8. Queequeg
    Member

    thanks for finding this out for me! i will give it a go :)

    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.