cupofjoe18 Posted January 22 Share Posted January 22 Using 7.1, is it possible to add custom code to a link in the header? I have code for a reservation popup widget, and in 7.0, I could paste that code as a header link and it would display the button. Now in 7.1, it just shows the code as text in the header. I've tried code injection in the header but that doesn't seem to work. I do have the button option enabled for the header, but that just redirects to another page. I would prefer to have the popup widget. Thanks! For reference: www.ConnersKitchenAndBarFW.com Link to comment
tuanphan Posted January 25 Share Posted January 25 Can you paste custom code here? We can test easier Click this icon then paste code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Roguetattoopgh Posted January 26 Share Posted January 26 Yes, you can target links directly based on their destination, and apply custom code to them. .header-nav-item a[href="/yourslug"], .header-menu-nav-item a[href="/yourslug"] { // * Custom code goes here * // } tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment