-
AuthorPosts
-
August 15, 2016 at 1:47 pm #672637
I found some solutions on the forum to change the height of the bread crumbs container but I dot get the text of the breadcrumbs vertically centered. I managed once but then it was no longer vertically aligned in the mobile version.
So, my questions are:
1) how to set the height of the bread crumb container for the desktop version and independently for the mobile version?
2) in both the desktop and mobile version I want the bread crumbs to be vertically centered in the container, what code/css is required for this?- This topic was modified 8 years, 4 months ago by winnieandbuzz.
August 15, 2016 at 2:18 pm #672648Well i do not recomend you to change the mobile behavior – floating left is best i think:
try this here
.avia-breadcrumbs { display: inline-flex; left: 50%; position: absolute !important; right: inherit !important; transform: translate(-50%); vertical-align: middle; }
for mobile version you can try this:
@media only screen and (max-width: 767px) .responsive .title_container .breadcrumb { display: inline-flex; left: 50%; position: absolute; transform: translate(-50%); } }
but best will be to know your site link to say something for your specific code
- This reply was modified 8 years, 4 months ago by Guenni007.
August 15, 2016 at 2:30 pm #672658Thanks. I will for now, as you advised, work on just one bread crumbs section. I tried your code but it does not set the height of the bread crumbs and horizontally centers the bread crumbs.
What I would like to achieve is to reduce the height of the container and then vertically center the bread crumbs (and keep them right aligned in desktop and left in mobile (which is both the standard behavior)).
August 16, 2016 at 6:31 am #673008Hi,
Could you provide us with a link to the site in question so that we can take a closer look please?
Thanks,
RikardAugust 18, 2016 at 8:39 am #674083yes we need a link! on this test page of mine the code works well: http://webers-testseite.de/ikom/
if you like to reduce the hight of that container:
.title_container { height: 40px !important; } #top .title_container .container { min-height: 40px; padding-bottom: 0; padding-top: 0; }
August 19, 2016 at 8:04 am #674569August 19, 2016 at 9:36 am #674603Hi,
The website is ‘under construction’. I will get back when it is online, OK?August 19, 2016 at 11:51 am #674689Hi,
Sure, we will keep this ticket open so you can write back to us when the website is ready for us to inspect.
Best regards,
Vinay -
AuthorPosts
- You must be logged in to reply to this topic.