Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
November 10, 2016 at 4:41 pm #985245
Hi,
I want to center my logo on the top as the attached image indicates, but only when the resolution of the screen is less than 992px.
How can I do?
Thank you.
Regards.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 10, 2016 at 4:59 pm #985251Hi
Add to your custom.css file this
@media (max-width: 991px) {
.logo-image a { margin-left:70px; } }
Hope it helps
November 10, 2016 at 6:34 pm #985283Hi,
But it is not responsive!
Please something better. I prefer reponsive.
Thank you.
Regards.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 12, 2016 at 6:15 pm #985779Please something better. I prefer reponsive.
Hi there
You can set margins for all widths using
@media (max-width: 480px) and (min-width: 320px) { .logo-image a { margin-left:70px; } } @media (max-width:768px) { .logo-image a { margin-left:70px; } } @media (max-width: 991px) { .logo-image a { margin-left:70px; } }
and change margins values for each resolution –
Regards
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 3 replies, has 2 voices, and was last updated by pavit 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum