Bannertop position in all layouts

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
Fri Mar 01, 2013 9:39 pm
Reply with quote
Report this post
http://www.lomyatezba.cz

I have big logo image in banner modul in bannertop position.
I need make this logo visible in all layouts.

Is also possible to make:

1) This position remain always visible in all layouts.
2) The width of this position will still be the same as width of maibody
3) The witdh of image in module in this position will adaptive to with bannertop positon (and the same as maibody)

Thanks for help.
User avatar
Junior Boarder

GK User
Fri Mar 01, 2013 11:08 pm
Reply with quote
Report this post
Hi, you have to modify - overwrite some styles.

If you look at file: gk_magazine\css\tablet.css - you'll see in this code
Code: Select all
#gkBannerTop {
   display: none;
}


- this element (where you have your logo) disapear.
So change from "display:none;" to "display:block;" and it should be okey.

Every Gavick Template has overwrite options in his configuration.
User avatar
Platinum Boarder

GK User
Fri Mar 01, 2013 11:59 pm
Reply with quote
Report this post
Thans!

One more -and I promise last for today - question:

http://www.lomyatezba.cz

In template properties (features) is now Logo type set to none.
How I center gkBannerTop with mainbody? (now is in normal layout aligned to left)

Ivo Bešťák
User avatar
Junior Boarder

GK User
Sat Mar 02, 2013 9:46 am
Reply with quote
Report this post
Hi, sure no problem, look at this file Template.css (line 133):
Code: Select all
#gkBannerTop {
    float: left;
    margin: 24px 20px 0 50px;
}


As you see there is a left float!, I suppose to change value from left to none
and also you can "play" with margin positions, of course use overwrite (better!) or if you like change inside file.

p.s.
Next time create new topic with new question. Please.

p.s.
Is not save(!) to add link to "/administrator" on the front page, beacuse some people will try to get access trying . Můžeme vám pomoci zlepšit všechny nedokonalosti na vašich webových stránkách.
User avatar
Platinum Boarder

GK User
Sat Mar 02, 2013 11:41 am
Reply with quote
Report this post
Thanks, but:

Yes, I can with margin (left) value move gkBanner to right and so "center" him over mainbody.
But this is good only in normal layout - not in tablets and mobile layouts
Is possible to make so one rule (in CSS?)

ad p.s. (1) - sorry
ad p.s (2) - OK, my idea was very wrong... :(


"Můžeme vám pomoci zlepšit všechny nedokonalosti na vašich webových stránkách."
Děkuji, jakou cestou?
User avatar
Junior Boarder

GK User
Mon Mar 04, 2013 3:26 pm
Reply with quote
Report this post
Hi, your problem is in this code
Code: Select all
#gkBannerTop {
    float: left;
    margin: 24px 20px 0 175px;
}


- because this same margin vaules is used in all devices, so you have to use different margin values for mobile views.
Second, you have to use responsive image tips for a logo or smaller size for mobile.

Read here: http://webdesignerwall.com/tutorials/5- ... ive-design
User avatar
Platinum Boarder


cron