Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Select an item from a list

  • Hi, I need to do a snippet to do the following:

    I have the following code:

    <div id="item-body" class="item-body"> 
    <nav class="bp-navs bp-subnavs no-ajax user-subnav" id="subnav" role="navigation" aria-label="Sub Menu"> 
    <ul class="subnav"> 
    <li id="public-personal-li" class="bp-personal-sub-tab" data-bp-user-scope="public"> <a href="https://mysite.com/digitalgmail-com/profile/public/" id="public">Ver</a> 
    </li>
    <li id="change-avatar-personal-li" class="bp-personal-sub-tab" data-bp-user-scope="change-avatar">
    <a href="https://mysite.com/miembros/rdigitalgmail-com/profile/change-avatar/" id="change-avatar">
    Cambiar la foto 
    </a>
    </li>
    </ul>
    </nav>
    </div>

    I need a snippet to change this item to be checked or selected. I mean I need this element to be selected in HMTL by default. How can I do that?

    <li id="change-avatar-personal-li" class="bp-personal-sub-tab" data-bp-user-scope="change-avatar">
    <a href="https://mysite.com/miembros/rdigitalgmail-com/profile/change-avatar/" id="change-avatar">
    Cambiar la foto 
    </a>
  • Hi there,

    Unfortunately, this falls outside the scope of our support since it’s not related to GP/GB.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.