Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5833

    Hi – When I click on a photograph on my main/home page, I would like it to click through to the single post instead of the photo popping up. What can I change?

    Also, I would like to change the background and hover styling of the menu items and also make the Menu text center aligned in each individual menu item “box”.

    Thanks for the help :)

    #51888

    Hey,

    as for linking your image to the single post you can go in your index.php file and replace

    echo '<div class="entry-previewimage rounded preloading_background">';
    echo $preview_image;
    echo '</div>';
    }

    by

    echo '<div class="entry-previewimage rounded preloading_background"><a href="'.get_permalink().'">';
    echo $preview_image;
    echo '</a></div>';
    }

    You can center your menu items by adding

    text-align:center;

    to the following class in your style.css

    .catnav li a strong {

    (On the site your username is linked to I don’t see the “boxed” menu though – am I missing something?)

    To give a different background styling for your menu item’s you’d check on their class and create a new class in your style1.css or style2.css etc depending on which theme version you’re using..

    If you can link me and point out exactly which menu items you’d want to have changed I can give you specific instructions.

    #51889

    Hi Chris – Thanks for the replies.

    1) linking post images on main page to the single post did not work even after changing the code in index.php.

    2) Adding the additional line in style.css did not make the necessary change to menu item. Im using the top nav and not the categories nav so i dont know if the class .catnav li a strong was the issue

    3) Regarding Menu styling, there are no visible boxes on my site. I was referring to the rectangular space each <li has for the menu item. On the menu items:

    (a) I would like the active (the page am on) menu item to look different than the rest so the user knows the s/he is on that page. For example: currently when I hover over the menu items, their color change to white from grey. When a user clicks on one item (and makes it the active item), I would like that item to remain white until the user switches to another menu item

    (b) i would like to change the background color for each menu item so each of the menu items names sits in a different rectangular color like [http://chestermagazine.com]- i know that this example uses cat nav and im using the main nav.

    Thanks!

    #51890

    Please help me with 1 & 2! I have been waiting on this.

    really appreciate, thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Change menu background/hover, Photo link’ is closed to new replies.