Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Admin Pages Printing With Urls Rate Topic   - - - - -

 
  • Ed Newman
  • Advanced Member
  • Members
  • Join Date: 02-Mar 13
  • 131 posts

Posted 07 May 2019 - 08:54 PM #1

This has been bugging me for a while so I finally decided to do some research on it.  So when I go to print a page in the admin section, it jumbles it up by adding the url to every clickable link on the page.  It seems that there is some code in a CSS style sheet (not 100% sure) to the effect of:

 

a[href]:after{content:" (" attr(href) ")"}

 

This prints the link after the text. If I change it to content: none, it should not print.  But I have searched all of the style sheets for href and can't find anything. Anyone have any idea where this is being triggered and how to disable it?

 


Ed Newman
Dark Storm Industries LLC
www.dark-storm.com


 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 899 posts

Posted 07 May 2019 - 10:36 PM #2

Hello Ed

 

/design/backend/css/lib/twitterbootstrap/reset.less

 

Best regards

Robert. 


Team of SoftSolid
cs-cart.pl

 
  • Ed Newman
  • Advanced Member
  • Members
  • Join Date: 02-Mar 13
  • 131 posts

Posted 11 July 2019 - 04:39 PM #3

Hello Ed

 

/design/backend/css/lib/twitterbootstrap/reset.less

 

Best regards

Robert. 

 

Thanks!

 

Commented out the following to "fix" the printing

 

  a[href]:after {
    content: " (" attr(href) ")";
  }
 
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
 
so the new code is:
 
  //a[href]:after {
  //  content: " (" attr(href) ")";
  //}
 
  //abbr[title]:after {
  //  content: " (" attr(title) ")";
  //}
 

Ed Newman
Dark Storm Industries LLC
www.dark-storm.com