Target – blank from announcement block button

  • Target – blank from announcement block button
    Viewing 11 posts - 1 through 11 (of 11 total)

  • MWEF-74
    Participant
    #11569

    I am using a button in an announcement block.
    I would like it to open in a new window.

    Ideally there should be a target option in the block configuration.

    I did find a solution in the forum:

    You can add the following
    jQuery(‘.page-id-6557 .aq-block-cr_image_block a’).attr(‘target’,’_blank’)
    to the custom JS panel, found at Theme Options >> General >> Advanced >> Custom JS

    If I chose this work around, how do I identify the correct page and blocks to apply it.
    (I tried using inspect but the the values I found did not work).
    My site is currently at staging.mwef.org.uk – looking at the donate button.

    I will need this on other pages once I migrate content from the siteorigin page editor.

    Thanks


    Mohamed Nabil
    Moderator
    #11571

    Hello,

    Here is an easier way:

    1.Edit the button block from the admin page builder, and add custom id to it

    2. Then add this to your Custom JS section
    jQuery(‘#your-custom-id a’).attr(‘target’,’_blank’)

    Best Regards


    MWEF-74
    Participant
    #11573

    Thanks that worked fine.

    I noticed the button block does include a target field (not shown in the online help).


    Mohamed Nabil
    Moderator
    #11574

    Ah you are right, we have added the target field to the Button block in a previous update, but i forgot sorry.
    So you can remove that JS, and use it through the block.

    Cheers


    MWEF-74
    Participant
    #11575

    I still need the fix as I am using the button in the announcement block.

    I am moving to this theme from another, where I have been using the siteOrigin pagebuilder. Their “Call to action” block is similar to the announcement block.

    For consistency anywhere you enter a URL it could do with a target option.
    I just have to remember to use the workaround.

    Thanks again – I am about to ask another question 🙂


    Mohamed Nabil
    Moderator
    #11578

    Aha I got what you mean now, well I have added the button target option to the announcement block, which will be in the next update.
    If you need it now, you can send me admin access in a private reply, install theme editor plugin, and I will add it for you.

    Thanks


    MWEF-74
    Participant
    #11582

    Not in a rush – currently working on a staging site not live and I have assigned all the affected blocks the same block id at the moment, so will update it when the new version is released.


    MWEF-74
    Participant
    #11769

    Hi

    When is the next update due?

    I was also wondering how do we get updates?
    Is this Automatic or a download?

    Thanks


    Mostafa Yasser
    Moderator
    #11774

    We are not sure when will be the next update. Please let us know if you have any issue that you’re waiting for the update to solve, we can help you solve it before the update.

    You will recieve an email once we release any update, you will need to re download the theme from themeforest and overwrite it with the current one you are using.

    Thanks


    MWEF-74
    Participant
    #11866

    Hi – no sign of an email concerning an upgrade yet.

    My support runs out in 2 weeks time.
    Will I still be able to download newer versions on themeforest or do I have to keep paying for support?

    I have version 3.6.0 installed.

    If the update isn’t happening then can give you access to remotely update the theme as per your suggestion 4 months ago.
    My hosting has a staging feature, so you can update it then I can check it before pushing to live.

    Roger


    Mostafa Yasser
    Moderator
    #11867

    Hello,

    Yes, you will still be able to download new versions even when your support runs out.

    And sure, you can send us remote access and we will handle the updates for you.

    Let me know if you need anything else
    Best Regards

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

You must be logged in to reply to this topic.