Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPLake

    (@wplakeorg)

    Hi @baxter89

    There are different methods to get the labels inline with the value.
    Can you share a link to your page? I’d like to confirm you’re using the URL field, and also how you’ve included the label.
    Then I can advise you better.

    Thread Starter New_WP

    (@baxter89)

    https://wp.dv-meric.fr/actualites/

    I tried replacing block with flex, it doesn’t change anything.

    view {
    display:block;
    }

    • This reply was modified 8 months, 3 weeks ago by New_WP.
    Thread Starter New_WP

    (@baxter89)

    Hello,
    I would like to ask you if you have a solution to align the text and the ACF field on a line.
    THANKS

    Plugin Author WPLake

    (@wplakeorg)

    Hi @baxter89

    Thank you for sharing the link to your page.

    To have the label and field value displayed on a single line, you can add the following CSS to the CSS Code field of your View.

    // Display fields and labels inline.
    #view > div {
       display: flex;
       gap: 10px;
    }

    For more information see our helpful doc page about CSS selectors.

    I’ll close this ticket for now, but feel free to reply if you need further assistance.

    Thread Starter New_WP

    (@baxter89)

    thank you it works, how can I put my label in bold

    Plugin Author WPLake

    (@wplakeorg)

    Hi

    You can apply the style to the class:

    font-weight: bold;

    Thread Starter New_WP

    (@baxter89)

    If I apply on the class it makes the label and the label link bold, I tried the code below but it doesn’t work.

    How I can make the label bold: Voir le site :

    Shortcode : [acf_views name=”Log Site” view-id=”65eae8147e815″]

    .acf-view__log__site-label {
    font-weight: bold;
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Label’ is closed to new replies.