Any chance to loose the border only on the inner pages?

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed May 07, 2014 12:26 am
Reply with quote
Report this post
Hi,
I need to loose the border but only in the inner pages.

I add:

Code: Select all
#gkPageContent {
  border: medium none !important;
}


but this removes the border on the home page also.

Any chance this to be done?

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Wed May 07, 2014 6:59 am
Reply with quote
Report this post
Hi,
yes there are several options,
one of them is to use a homepage suffix before "#gkPageContent"
so please also this

Code: Select all
.noBg #gkPageContent  { 
    border-color: -moz-use-text-color #E5E5E5 #E5E5E5 !important;
    border-right: 1px solid #E5E5E5 !important;
    border-style: none solid solid !important;
    border-width: medium 1px 1px !important;

  }


where you will add border on homepage only,
this code must be below your line. I hope it will work.

p.s.
.noBg - class in most cases is used only on HomePage so we have to recover override which you have made.
User avatar
Platinum Boarder

GK User
Wed May 07, 2014 7:09 am
Reply with quote
Report this post
Using !important value can make many problems, so please use it carrefully.
User avatar
Platinum Boarder

GK User
Wed May 07, 2014 12:14 pm
Reply with quote
Report this post
Hi,
I didnt quite get this. I need to add suffix .noBg in the php file or just the css code..?

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Wed May 07, 2014 12:35 pm
Reply with quote
Report this post
Well I'll be... :D
Its working!
Thanks BIG TIME! :D

Gorast
User avatar
Platinum Boarder


cron