Magento – Contact Us Success Message Not Displaying Properly
contact-uslayoutmagento-1.9messagespage-content
I'm using the standard Contact Us page in Magento and it is not in a CMS page. When a customer sends a message, the success message does display. However, the page header is moved down and displays on top of the success message. I have looked everywhere and have no idea how to fix this. Feel free to send me a test message to see what I mean. Use the Contact Us link in the footer of www.shademountainarmory.com.
The only thing I could find in the Magento files relating to the success message was found in app/code/core/Mage/Contacts/controllers/IndexController.php. Here's the message code…
$translate->setTranslateInline(true);
Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->__('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
$this->_redirect('*/*/');
return;
} catch (Exception $e) {
$translate->setTranslateInline(true);
Mage::getSingleton('customer/session')->addError(Mage::helper('contacts')->__('Unable to submit your request. Please, try again later'));
$this->_redirect('*/*/');
return;
I can't find anywhere to modify WHERE the message appears since it seems to bump my page header down.
Related Topic
- Magento – Contact Us Success Message Location Not Displaying Properly
- Magento – Custom contact form on Product view – how to define Transactional E-mails template
- Magento 1.9 – Fix Contact Form Not Working or Displaying Confirmation
- Magento – Shopping cart is empty after cancel the payment in magento-1.9.1.1
- Magento 1.9 – Custom Contact Form Using Custom Template
Best Answer
This is not due to magento's code. Please make changes in css.
Add class
.contacts-index-index .page-title { margin:0; }