Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1141864

    hey there,

    i want to know how i can set the breadcrumps-alignment with css to middle. the problem is the “<sup>®</sup>” in the page-title.

    i cant set the class “span.trail-end” with margin because there are titles without the ®-symbol.

    sample-page & sample screenshot below :-)

    thx in advanced

    #1141978

    Hey Ramon,

    Well, you will need to write JavaScript that checks if the trail end has the sup and if it does, you can add the css to it:

    
    .breadcrumb-trail .trail-end {
      margin-top: -3px;
    }
    

    Best regards,
    Victoria

    #1141986

    hey victoria,

    thanks for it. is it possible to get the code-snippet for my functions.php in here?

    #1142001

    Hi volmering,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

    #1142006

    hey victoria,

    i can understand your point :-) and to hire a freelancer is not a big deal, but….

    in my optinion is the ®-symbol a common used sign. especially in a title. so this should be covered by enfold support. because the title / breadcrumb is = enfold….

    #1142322

    Hi volmering,

    I understand your point too. Please try this code:

    
    .trail-end sup {
          vertical-align: top;
    }
    

    Best regards,
    Victoria

    #1142395

    hey victoria, thx. your codes brought me to think about it again.

    in the end it was a mix of yours and mine :-)

    solution is:

    .breadcrumb-trail .trail-end {
      margin-top: -3px;
    }
    .breadcrumb-trail {
    height: 25px !important;
    padding-top: 10px !important;
    }
    

    and the idea to speak only to the sup-element with css is great too ^^ i can use it somewhere else.

    thx for help and can be closed :-)

    • This reply was modified 5 years, 2 months ago by volmering.
    #1142402

    Hi volmering,

    Glad you got it working for you! :)

    I am closing this thread.

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Vertical Text Align in Breadcrumps’ is closed to new replies.