Revert back your files if you done any changes.
Do not change anything in /components/ folder as this is original joomla folder and any updates in joomla will loose your changes.
Do work in templates/gk_templatename/html/ folder for any custom changes. Please also note your changes in case you need to update template files.
1. Copying style from game_magazine.
Copy com_contact folder from : "\templates\gk_game_magazine\html\"
Into : "\templates\gk_coffe\html\"
So you have following folder and its contents : "\templates\gk_coffe\html\com_contact\"
2. Copying image files.
Copy following images from "\templates\gk_game_magazine\images\icons" into "\templates\gk_coffe\images\icons"
- Code: Select all
contact_mail.png
contact_phone.png
contact_fax.png
contact_mobile.png
contact_web.png
3. Adding css in override.css
Enable Css override option from template settings > advanced settings > css override "on" and add below codes into "\templates\gk_coffe\css\override.css"
- Code: Select all
/* Contacts custom code starts here */
p.contact-position { margin: -14px 0 32px; font-size: 10px; text-transform: uppercase; color: #333 }
div.contact-misc { margin: 20px 0 50px }
div.contact-misc p { margin: 0 0 30px; }
.gkFirst { clear: both; float: left; }
.gkSecond { float: right; }
.contact { padding:0; }
.contact h3 { font-size: 180%; margin-top:5px; }
.contact-category { padding:0; }
.contact-category #adminForm fieldset.filters { border:0; padding:0 }
.contact-image { margin:10px 0; overflow:hidden; }
.contact-image img { }
.contact-contactinfo span { display: block; }
address { border-left: 1px solid #e5e5e5; padding-left: 20px; margin:0; }
span.contact-image { margin-bottom: 10px; overflow:hidden; display:block }
.contact-address { clear: both; min-height: 50px; margin: 20px 0 0; padding: 0 0 0 60px; background: url('../images/icons/contact_adress.png') no-repeat 0 4px; }
div.contact-contactinfo p { margin: 20px 0 0; padding: 0 0 0 60px; }
div.contact-contactinfo p span { min-height: 40px; padding-left: 20px; border-left: 1px solid #e5e5e5 }
.contact-emailto { background: url('../images/icons/contact_mail.png') no-repeat 0 4px; }
.contact-telephone { background: url('../images/icons/contact_phone.png') no-repeat 0 4px; }
.contact-fax { background: url('../images/icons/contact_fax.png') no-repeat 0 4px; }
.contact-mobile { background: url('../images/icons/contact_mobile.png') no-repeat 0 4px; }
.contact-webpage { background: url('../images/icons/contact_web.png') no-repeat 0 4px; }
.contact-contactinfo { font-style: italic }
span.contact-street { margin-bottom: 0px }
.contact-email div { padding:2px 0; margin:0 0 10px 0; }
.contact-email label { width:17em; float:left; }
#contact_textmsg { padding: 2px 0 10px 0 }
#contact-email-copy { float:left; margin-right:10px; }
#contact-form dt { margin: 6px 0 0 3px; }
.contact .button { float:none !important; clear:left; display:block; margin:20px 0 0 0 }
.jicons-icons { display: none; }
.jform_contact_first { float: left; width: 58% }
.jform_contact_secend { float: right; }
.contact-email input, .contact-email textarea { clear: both; display:block; }
.contact label#jform_contact_email_copy-lbl { font-size: 11px; line-height: 2.4; margin-left: 25px; position: absolute; }
.contact #jform_contact_message { width: 300px; }
.contact #jform_contact_emailmsg, #jform_contact_email, #jform_contact_name { width: 300px; }
/* Contacts custom code ends here */
4. Removing picture from contact. Add it in wysiwyg editor if you like.
Go to joomla admin > Components > Contacts > Contacts > Select "Eli Manning" ( demo user )
On the right Under Contact details > image , click on clear button to clear image or under Display Options hide Image.
On the left in WYSIWYG editor add some content or add picture.
Save & Close.
See you around...