Borders around modules?

GK User
Sun Apr 08, 2012 11:51 am
I want to have a border around most of the modules on my "The world news II" template. But can't find out how to do that. Remenber i managed to do that on an older word news template, but not this time. Any ideas?
User avatar
Fresh Boarder

GK User
Sun Apr 08, 2012 2:41 pm
Hi,

Just use css suffix class to add borders to your modules, refer this instruction to know how to make borders with css http://www.w3schools.com/css/css_border.asp

If you can't do it yourself, just give me your site URL then I will try for you as well.

Cheers,
User avatar
Platinum Boarder

GK User
Wed Apr 25, 2012 9:40 am
In the template.css file I have changed the #gkPage .box, parameter to:

#gkPage .box { border: 0.5px solid #9f9f9f; background: #fff; margin-bottom: 8px; }

The result is what I want when I look at the site in Firefox (only?). But when I look at the site in IE7 there are no borders, the background is not perfect and there are strange things.

The same when I try the site in Epiphany and Opera. There must be a better way to do this.

http://www.degerforsaren.se
User avatar
Fresh Boarder

GK User
Thu Apr 26, 2012 1:51 pm
Hi,

I'm checking for you but the site is not working, there may be some problem with your server that I can't connect right now.
User avatar
Platinum Boarder

GK User
Thu Apr 26, 2012 8:39 pm
It is up and running...
User avatar
Fresh Boarder

GK User
Fri Apr 27, 2012 3:06 pm
Hi,

I see you have added the code to file /templates/gk_twn2/css/template.css

Try adding it to override.css file instead with a little change like this:
Code: Select all
#gkPage .box {
    background: none repeat scroll 0 0 #FFFFFF!important;
    border: 0.5px solid #9F9F9F!important;
    margin-bottom: 8px!important;
}

Or try changing 0.5px to 1px to check if it works.

Cheers,
User avatar
Platinum Boarder

GK User
Fri Apr 27, 2012 4:17 pm
Thank you for your help, but sorry, both your suggestions didn't work. In fact, now the borders are missing also in Firefox webbrowser :( . I have looked in the css-files for the template "Music" that use borders, but I don't understand what part of the code is the right thing to implement.
User avatar
Fresh Boarder

GK User
Fri Apr 27, 2012 4:41 pm
Can you please send me a PM to provide with backend access info then I will try some other code myself?

Thanks,
User avatar
Platinum Boarder

GK User
Fri Apr 27, 2012 5:59 pm
I really appreciate your quick help, but at the moment I will first try to convert the site into the "Music" template (it is almost the same as "The world news II" template). If I fail, I will send you a PM. Thanks a lot for a good support.
User avatar
Fresh Boarder

GK User
Fri Apr 27, 2012 10:52 pm
Just go on and feel free to let me know if you need further help as you're most welcome.

Cheers,
User avatar
Platinum Boarder


cron