Single staff page multiple email id alignment issue

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support Single staff page multiple email id alignment issue

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by Sujoy Banerjee Sujoy Banerjee 6 months, 1 week ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #29251
    Sujoy Banerjee
    Sujoy Banerjee
    Participant
    Post count: 77

    Hi,
    on a single staff page , if more than 1 email ids are being added then on the frontend their alignment is not maintained .
    As u can see in the attached screenshot, 2nd and 3rd email ids are too much left aligned . Instead all the email ids should be exactly below each other

    Attachments:
    #29254
    Veena
    Veena
    Moderator
    Post count: 7821

    Can i get a link to an example page ?

    #29262
    Sujoy Banerjee
    Sujoy Banerjee
    Participant
    Post count: 77

    oops forgot to post site url, u can see an example here

    #29271
    Veena
    Veena
    Moderator
    Post count: 7821

    pls try insert a paragraph tag in the beginning of mail id list.
    Like this –

    <p> </p> robert.powell@invent.edu,  manjula.mech@nitap.in,  ad.acad.nitap@gmail.com
    

    And have the below custom CSS in themeoptions and see if that helps –

    .staff-information a p {
        margin: 0;
    }
    
    #29277
    Sujoy Banerjee
    Sujoy Banerjee
    Participant
    Post count: 77

    ok, that did the job but :

    1. It will be a tedious job to remind our staffs to add a paragraph tag everytime they edit or create a new staff profile. So i need to hardcoded that paragraph tag. SO for that, which invent file i must modify and also i need to modify the file from child theme

    2. Also, is it possible to add space in front of each email id so that the mobile no. , email ids and department name remain in the same alignment. (see attached screenshot)

    Attachments:
    #29284
    Veena
    Veena
    Moderator
    Post count: 7821

    You can find the code in single-staff.php file .
    First you need to copy the file single-staff.php to your child themes folder and make required changes.

    #29293
    Sujoy Banerjee
    Sujoy Banerjee
    Participant
    Post count: 77

    ok and anything on #2 ?

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.