Compact distance

Go down

Solved Compact distance

Post by loving9you on November 3rd 2015, 7:05 pm

Hi Team Support !

Now I want to collapse the distance between this box , Thanks !



Demo : http://hienmau.forumvi.com/f24-forum
avatar
loving9you
Forumember

Posts : 55
Reputation : 4
Language : Ho Chi Minh City, Vietnam

http://hienmau.forumvi.com/

Back to top Go down

Solved Re: Compact distance

Post by Ange Tuteur on November 3rd 2015, 7:09 pm

Hi @loving9you,

Add the following CSS to your stylesheet :
Code:
div.main.paged {
  margin-top:0px;
}

If you want to decrease the gap further, you can use negative margins, for example :
Code:
div.main.paged {
  margin-top:-10px;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Compact distance

Post by loving9you on November 3rd 2015, 7:17 pm

@Ange Tuteur wrote:Hi @loving9you,

Add the following CSS to your stylesheet :
Code:
div.main.paged {
  margin-top:0px;
}

If you want to decrease the gap further, you can use negative margins, for example :
Code:
div.main.paged {
  margin-top:-10px;
}


Thanks ! but it remains unchanged
avatar
loving9you
Forumember

Posts : 55
Reputation : 4
Language : Ho Chi Minh City, Vietnam

http://hienmau.forumvi.com/

Back to top Go down

Solved Re: Compact distance

Post by Ange Tuteur on November 3rd 2015, 7:19 pm

Odd, try adding !important and adjust the value as necessary.
Code:
div.main.paged {
  margin-top:-10px !important;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Compact distance

Post by loving9you on November 3rd 2015, 7:23 pm

Thanks Admin ! it works perfectly !
avatar
loving9you
Forumember

Posts : 55
Reputation : 4
Language : Ho Chi Minh City, Vietnam

http://hienmau.forumvi.com/

Back to top Go down

Solved Re: Compact distance

Post by Ange Tuteur on November 3rd 2015, 7:27 pm

You're welcome ! ^^

Topic archived

Have a good day. Mr. Green
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum