add rounded corners to homepage

Commercial shopping Joomla template to easy create webshop with various extensions supported like ViruteMart, K2 and K2Store.
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 Nov 19, 2013 7:06 pm
Reply with quote
Report this post
Is it possible to add rounded corners to

I've found a couple of posts asking to remove the rounded corners but not to add them.

See the image - I think it's the header bottom css the would need editing?

Thanks
gk-storebox.JPG
User avatar
Expert Boarder

GK User
Tue Nov 19, 2013 7:31 pm
Reply with quote
Report this post
Please edit: /templates/gk_storebox/css/override.css and add at its end:
Code: Select all
#gkHeaderBottom {
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}


This will create rounded top left and top right corner.

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

GK User
Tue Nov 19, 2013 7:33 pm
Reply with quote
Report this post
This change might affect also other pages in way you don't like - so to limit the effect only to homepage, read this article:
http://www.gavick.com/documentation/gen ... mla-pages/
and use the technique to add suffix to homepage and then use this suffix in css declaration.
Suppose this suffix is going to be named "homepage", then css should looks this way:
Code: Select all
.homepage #gkHeaderBottom {
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}
User avatar
Moderator

GK User
Tue Nov 19, 2013 8:43 pm
Reply with quote
Report this post
Thank you.

I needed to edit #gkContent to get it to work.

So I thought I'd add the same effect to the main body (#gkMainWrap) and I can see it working but it gets over-ridden by the slideshow image. Is here a way around this please?
User avatar
Expert Boarder

GK User
Wed Nov 20, 2013 11:21 am
Reply with quote
Report this post
Please describe more accurately whats the problem (use element names, screenshot if needed).
User avatar
Moderator

GK User
Wed Nov 20, 2013 12:57 pm
Reply with quote
Report this post
OK, so if you look at the attached image, I would like the main body to have rounded corners as well if possible.

I have added rounded corners on the images but its the z:overlay (?) transparency that's causing the problem I think.

gavick1.JPG
User avatar
Expert Boarder

GK User
Thu Nov 21, 2013 5:41 pm
Reply with quote
Report this post
Please post an url to this subpage.
User avatar
Moderator


cron