1. My contacts form renders a few artifacts. Specifically the notification/error messages do not show up properly. Please see http://avokiddo.com/?page_id=707. In the contact form click send without entering any data. The notifications under the blank fields render in a color similar to the background and cannot be seen properly. Also the error message bellow the 'send' button renders as a white box and the text is white too, so it can't be seen. Can you please provide me with a CSS solution so that I can change these colors?
2. I don't want the client links to open in a new window. So in nectar/tinymce/shortcode-processing.php, I located: $client_content = '<div><a href="'.$url.'" target="_blank"><img src="'.$image.'" alt="client" /></a></div>'; and I removed the target=â€_blank†attribute. However the links still open up a new window. Can you please help me out with this one?
Please visit this page: http://avokiddo.com/?page_id=707 scroll down and just above the footer you'll see 3 app icons that are using the client display shortcode. I have changed the code: $client_content = '<div><a href="'.$url.'">target="_self"><img src="'.$image.'" alt="client" /></a></div>'; but the links keep poping up in new tabs???? What should I try next?
How weird? Something is wrong here. I have commented out the whole 'clients' section in shortcode-processing.php but the page is still being built displaying clients. Is it possible that it is getting this value from somewhere else? Some override maybe? Some cashed version on the server? (Obviously it is not my browsers cash since you are seeing it too).
The file I have changed is in this location: www.avokiddo.com/blog/wp-content/themes/salient/nectar/tinymce/shortcode-processing.php (I presume this is the correct file right?).
As I said, changing the value to _self has no result. In fact deleting the whole 'clients' section from shortcode-processing.php makes no difference; clients still shows up in my page and they also link to a new tab. So I presume the whole 'clients' section is generated from somewhere else. Please help me out with this one as it is crucial to the consistency of my page.
Your server is proabably caching the files. Please contact your host as they would be able to configure the server to refresh the cache more frequently.
The value _self was actually changed at least 2 months ago. So if there is a caching issue then that means that we are looking at a 2 months old php file! That would be strange. Are you sure there is no override of the target window in some other part of the code or some other file?
No need! I just got the solution from posting in the comments section of themeforest. Apparently there was an override and the whole clients 'target window' was controlled from this file: client.php inside of nectar/nectar-vc-addons/vc_templates.
Hi team, I am trying to accomplish the same request related to the client logo links opening in the same window - instead of a new window. Is there a custom CSS snippet I can insert so the client links don't open in a new window?
Or, can you direct me to where I can set the _blank to _self?
Hi, I need some help,
1. My contacts form renders a few artifacts. Specifically the notification/error messages do not show up properly. Please see http://avokiddo.com/?page_id=707. In the contact form click send without entering any data. The notifications under the blank fields render in a color similar to the background and cannot be seen properly. Also the error message bellow the 'send' button renders as a white box and the text is white too, so it can't be seen. Can you please provide me with a CSS solution so that I can change these colors?
2. I don't want the client links to open in a new window. So in nectar/tinymce/shortcode-processing.php, I located: $client_content = '<div><a href="'.$url.'" target="_blank"><img src="'.$image.'" alt="client" /></a></div>'; and I removed the target=â€_blank†attribute. However the links still open up a new window. Can you please help me out with this one?
Thank you very much for your support.
Best,
V
Hey V!
1. Add this into the Custom CSS box located in your Salient Options panel :
2. You need to set the _blank to _self.
Cheers
ThemeNectar Support Team
Hi and thanks so much for the prompt reply!
_self does not seem to work!
Please visit this page: http://avokiddo.com/?page_id=707 scroll down and just above the footer you'll see 3 app icons that are using the client display shortcode. I have changed the code: $client_content = '<div><a href="'.$url.'">target="_self"><img src="'.$image.'" alt="client" /></a></div>'; but the links keep poping up in new tabs???? What should I try next?
Thanks once more,
V.
Hey V!
I still see _blank in the page source. See screenshot: http://prntscr.com/42vwli .
Thanks
ThemeNectar Support Team
How weird? Something is wrong here. I have commented out the whole 'clients' section in shortcode-processing.php but the page is still being built displaying clients. Is it possible that it is getting this value from somewhere else? Some override maybe? Some cashed version on the server? (Obviously it is not my browsers cash since you are seeing it too).
The file I have changed is in this location: www.avokiddo.com/blog/wp-content/themes/salient/nectar/tinymce/shortcode-processing.php (I presume this is the correct file right?).
Any ideas?
Hi, did you have the chance to look at my issue?
As I said, changing the value to _self has no result. In fact deleting the whole 'clients' section from shortcode-processing.php makes no difference; clients still shows up in my page and they also link to a new tab. So I presume the whole 'clients' section is generated from somewhere else. Please help me out with this one as it is crucial to the consistency of my page.
Thank you in advance.
V.
Hey V!
Your server is proabably caching the files. Please contact your host as they would be able to configure the server to refresh the cache more frequently.
Thanks
ThemeNectar Support Team
Hi, I have posted it on the theme discussion too.
The value _self was actually changed at least 2 months ago. So if there is a caching issue then that means that we are looking at a 2 months old php file! That would be strange. Are you sure there is no override of the target window in some other part of the code or some other file?
Thanks for you all your help!
Please provide wp-admin login details in a private post so we can take a look.
Thanks
ThemeNectar Support Team
No need! I just got the solution from posting in the comments section of themeforest. Apparently there was an override and the whole clients 'target window' was controlled from this file: client.php inside of nectar/nectar-vc-addons/vc_templates.
Thanks anyway for all the support!
Hi team, I am trying to accomplish the same request related to the client logo links opening in the same window - instead of a new window. Is there a custom CSS snippet I can insert so the client links don't open in a new window?
Or, can you direct me to where I can set the _blank to _self?
Thanks for your help!
@Syndicatemarketing ,
This might help : http://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ .
Thanks
ThemeNectar Support Team