• Resolved cartmr

    (@cartmr)


    I am creating ACF Views to display ACF Taxonomy Values of Woocommerce Products from multiple Taxonomies in a row.
    So far so good. But….

    a) This leads to each Taxonomy Value having an HTML Link when you MouseOver it – which is not required. I just want to display the text without any links.
    b) I can’t seem to use my own CSS to (for example) define text size and color – despite it being defined in advanced and the name in basic.

    I have made sure the URLs are disabled in the ACF advanced definition of the Taxonomies – but that didn’t change anything other than making each taxonomy a URL parameter (eg ?art-style=contemporary) instead of a full URL (eg …/art-style/contemporary)

    Here is my Custom Markup, which works except for the class=”acf-h1″ and the being recognised.

    <div class=”acf-view acf-view–id–19488 acf-h1 acf-view–object-id–{object-id}”>

    <!–$art-style$–><!–$core-artwork-type$–>
    <div class=”acf-view__row acf-view__art-style”>
    <div class=”acf-h1″><nolink>$art-style$ $core-artwork-type$</nolink></div>
    </div>
    <!–$art-style$–><!–$core-artwork-type$–>

    </div>

    How do I avoid getting links in all of my Taxonomy views ?
    and how can I get my css recognised ?

    Thanks in advance
    Martin

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

    (@wplakeorg)

    Hi @cartmr

    So do you have an ACF Views Pro license?
    If so, please reach out to us via our support form.

    With regards to your questions.
    a) you could hide the link with css. or you could customize the output of your View with filters.

    b) it’s likely due to some conflict, or cache or even compiled css. You could test by adding ‘!important’ to your defined style. e.g. “font-weight: bold!important;”.

    I am not sure why your CSS wouldn’t be recognized.

    Perhaps you could share a link to the page?
    Or provide temporary login access to your website via our support form?

    Regards

    Thread Starter cartmr

    (@cartmr)

    Thank you for your quick reply.
    I bought a Pro License 2 days ago so can use the form. The main reason for doing so was so I wouldn’t have to spend time creating & customising shortcodes to display the ACF fields taxonomy data. But it looks like I have the same issue using ACF Views.

    With your answer a) which filter were you thinking – field Markup or Shortcode output? I will try a few things while I wait for your answer & if anything works I’ll reply to this message.

    With answer b) I did try adding !important to both css lines – but this did not change anything. The server cache is cleared every 30 mins & I cleared the browser cache.

    I will provide you with example & temp login access to the test site where this is via your support forum

    Plugin Author WPLake

    (@wplakeorg)

    Hi @cartmr

    We’re only replying here for completeness of the ticket.

    The problem you’ve experienced was due to your cache plugin minifying the CSS.

    To display the taxonomy, with a text prefix inline with it’s value in Elementor, you could add the “display: flex;” CSS style for your div or class.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ACF View with Multiple Taxonomy fields creates Links for each field’ is closed to new replies.