Showing Logo Next To Page Menu Navigation? [Solved]
I think I am making a mountain out of a molehill for this one! I have changed my page menu navigation so the links go under each other instead of next to each other (I change rMenu ver to rMenu hor anywhere I could in header.php) - but would like to display a logo/image next to it.
How would I go about doing this? Is there anyway I can align the menu next to the logo section (of course, the logo section will need to be decreased in size, and the rss icon removed) - or simply add a table before the rMenu table? Thanks for any advice :) |
|
Hi,
Thanks for the link - I looked at it yesterday, however (unless my limited php knowledge is failing me) a background image might not be the solution as the links will remain where they are with the logo under them, as opposed to next to them? :confused: |
What you need to adjust is the CSS padding.
What this does is put an image in your anchor link. You then use padding settings to move your text to the (left, right, top or bottom) of your image. in my site that is : ul.rMenu li.page-item-659 a:active { /* the anchor link to add the graphic */ padding-left: 20px !important; /* giving the graphic 20 pixels of space and making sure the css is used */ background: url(/ophthweb/wordpress/images/uw-icon-gld-blk.gif) no-repeat scroll bottom left !important; /* the image, set to not repeat and be in the bottom left of the anchor box */ Best of luck! |
Ahh wonderful, thank you very much I will give it a go!
ps: I meant css, not php - I think I spent too long job hunting!! |
Problem solved :D
Code:
ul.rMenu { |
yet again, this forum saves my butt. thank-you!
|
All times are GMT -6. The time now is 11:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.