Modifying div sizes on template (where is the code?)

October 2012 Joomla Template
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
Sat Jan 25, 2014 9:28 pm
Reply with quote
Report this post
Hi,
Im fairly new to this...
On my website there is a large space beneath the header (also containing GK Image Show) and my main component. I would like to reduce this gap. www.wedexpert.co.uk

I used chrome to inspect the html and css, and have tested some different sizes, and found that (it seems like) div.gkIsImage within gkis-gk-is-124 needs to have a height of 650px and sectionID=gkheader to min height 450px in order to close up the gap. (Apologies if this is totally wrong...)

I would like to make these changes (or similar ones to that effect) but im not sure how to find the right css file and then correct code to change.

I would really appreciate some advice please.

Thanks
User avatar
Fresh Boarder

GK User
Mon Jan 27, 2014 8:27 am
Reply with quote
Report this post
Please edit: /templates/gk_startup/css/override.css and add at its end:
Code: Select all
#gkIs-gk-is-124 .gkIsImage {
height: 650px;
}
#gkHeader.nobg {
min-height: 450px;
}

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

GK User
Mon Jan 27, 2014 1:22 pm
Reply with quote
Report this post
Cyberek wrote:Please edit: /templates/gk_startup/css/override.css and add at its end:
Code: Select all
#gkIs-gk-is-124 .gkIsImage {
height: 650px;
}
#gkHeader.nobg {
min-height: 450px;
}

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


Thanks, however I just did both these things (I believe), and also cleared the cache, and it hasn't changed? Any idea what I might have done wrong?
User avatar
Fresh Boarder

GK User
Mon Jan 27, 2014 5:19 pm
Reply with quote
Report this post
Could you please disable js and css compress so I can test whats wrong?
User avatar
Moderator

GK User
Mon Jan 27, 2014 6:10 pm
Reply with quote
Report this post
Cyberek wrote:Could you please disable js and css compress so I can test whats wrong?

Thankyou for checking! I have now disabled Js and Css compression...
User avatar
Fresh Boarder

GK User
Tue Jan 28, 2014 11:48 pm
Reply with quote
Report this post
Cyberek wrote:Could you please disable js and css compress so I can test whats wrong?

Any thoughts on what ive done wrong? Thanks
User avatar
Fresh Boarder

GK User
Wed Jan 29, 2014 8:08 pm
Reply with quote
Report this post
Please correct the code:
Code: Select all
#gkIs-gk-is-124 .gkIsImage {
height: 650px!important;
}
#gkHeader.nobg {
min-height: 450px!important;
}
User avatar
Moderator

GK User
Wed Jan 29, 2014 8:44 pm
Reply with quote
Report this post
Cyberek wrote:Please correct the code:
Code: Select all
#gkIs-gk-is-124 .gkIsImage {
height: 650px!important;
}
#gkHeader.nobg {
min-height: 450px!important;
}


have just done this. Still have a huge gap showing up? on Firebug it looks like #gkIs-gk-is-124, #gkIs-gk-is-124 .gkIsImage is still 920px.

Im really sorry, I don't know what it is Im doing wrong...
User avatar
Fresh Boarder

GK User
Thu Jan 30, 2014 3:25 pm
Reply with quote
Report this post
Rachael1287 wrote:
Cyberek wrote:Please correct the code:
Code: Select all
#gkIs-gk-is-124 .gkIsImage {
height: 650px!important;
}
#gkHeader.nobg {
min-height: 450px!important;
}

I have altered the code slightly to the below and now seems to work... Thanks
Code: Select all
#gkIs-gk-is-124, #gkIs-gk-is-124 .gkIsImage {
height: 650px!important;
}
#gkHeader.nobg {
min-height: 450px!important;
}
User avatar
Fresh Boarder


cron