Tagged: Target blank external links
-
Target – blank from announcement block buttonViewing 11 posts - 1 through 11 (of 11 total)
-
September 11, 2017 at 2:30 pm #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 JSIf 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
September 11, 2017 at 3:20 pm #11571Hello,
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
September 11, 2017 at 10:08 pm #11573Thanks that worked fine.
I noticed the button block does include a target field (not shown in the online help).
September 12, 2017 at 12:09 pm #11574Ah 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
September 12, 2017 at 6:05 pm #11575I 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 🙂
September 13, 2017 at 3:46 pm #11578Aha 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
September 13, 2017 at 5:27 pm #11582Not 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.
November 22, 2017 at 4:36 pm #11769Hi
When is the next update due?
I was also wondering how do we get updates?
Is this Automatic or a download?Thanks
November 23, 2017 at 1:27 pm #11774We 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
February 26, 2018 at 8:18 pm #11866Hi – 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
February 28, 2018 at 12:37 pm #11867Hello,
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 -
You must be logged in to reply to this topic.