cancel
Showing results for 
Search instead for 
Did you mean: 

Exact placement of elements within an structual block

Exact placement of elements within an structual block

Hello fellow Magento people!

I have spend huge amount of time the last days on reading and experimenting with Magento, and I understand a lot of the basics like folder structure for theming, where to find various xml files for modification, where to find CSS, and so on. I have come to understand that you can assign a specific content block to a specific structural block like this:

(I'm modifying the rwd-theme)

 

/myTheme/layout/checkout.xml:

<reference name="header">
            <block type="checkout/cart_minicart" name="minicart_head" template="checkout/cart/minicart.phtml" before="-">

Here is the mini cart been assigned to header, and if i wish i could change "header" to "left", and the mini cart would appear in the left column. But what if i would like to decide exactly where the mini cart should be inside the header?

 

Here is a picture of what i'm trying to achieve:

http://i.imgur.com/hSvWxDe.png

 

I also like to:

  • Move logo down to sit on top of the nav bar
  • Move the search to the middle of the header, both horizontally and vertically
  • Move the mini cart up next to the search field

Any kind of help is appreciated. kind reg Rasmus