Responsive top banner and positions

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue May 13, 2014 3:48 am
Reply with quote
Report this post
1. How to make "top banner" responsive?
2. How to order "top banner" to be under the logo when viewed through a tablet? or make both on centre.
1.jpg
User avatar
Expert Boarder

GK User
Tue May 13, 2014 5:17 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Tue May 13, 2014 5:46 am
Reply with quote
Report this post
User avatar
Expert Boarder

GK User
Tue May 13, 2014 4:22 pm
Reply with quote
Report this post
Your site is a full width site - do you know, if you will force that top banner to be responsive, and if user wil have 1920px wide screen, then this banner will stretch from 728x90 to 1920x237px what is quite huge?
Perhaps you should reconsider your idea?
User avatar
Moderator

GK User
Sat May 17, 2014 2:50 pm
Reply with quote
Report this post
Im sorry, I just wanted to display banner "matching" in the mobile / ipad.
User avatar
Expert Boarder

GK User
Sun May 18, 2014 11:27 am
Reply with quote
Report this post
Could you create some simple mockups of how it should look on desktop, tablet and mobile?
User avatar
Moderator

GK User
Tue May 20, 2014 8:19 am
Reply with quote
Report this post
like this...maybe?
Bitmap in Graphic1.jpg
User avatar
Expert Boarder

GK User
Thu May 22, 2014 7:31 pm
Reply with quote
Report this post
Please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
/*
#------------------------------------------------------------------------
# News II - February Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2013 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: [email protected]
*/

/* Here you can include your override CSS styles */
#ezblog-posts .itemsRow .blog-post {width: 50%;}

TPL_GK_LANG_BACKTOTOP="Back to top"


@media  (max-width: 580px) {
  #gkLogo {   
    width: 100%;
  }
  #gkLogo img {   
    max-width: 100%;
  }
}
@media (max-width: 840px) {
  #gkLogo {
    float: none;
    margin: 25px auto 20px auto !important;
  }
  #gkBannerTop {
    float: none;
    margin: 15px auto !important;
  }
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator


cron