Jump to content
  • 0

Custom Css Overrides?


will

Question

I'd like to inject extra CSS to client-facing pages. For the order plugin, this was relatively easy - I modified plugins/order/views/templates/wizard/signup.pdt

 

I changed line 85 from 

"<link href=\"" . Router::makeURI(str_replace("index.php/", "", WEBDIR) . $this->view->view_path . "views/" . $this->view->view) . "/css/order.css\" rel=\"stylesheet\" type=\"text/css\" />"

to                        

"<link href=\"" . Router::makeURI(str_replace("index.php/", "", WEBDIR) . $this->view->view_path . "views/" . $this->view->view) . "/css/order.css\" rel=\"stylesheet\" type=\"text/css\" />\n<link href=\"/my/stylesheet.css\" rel=\"stylesheet\" type=\"text/css\" />"

thereby injecting my CSS right after the plugin's CSS.

 

I can't figure out where to do this for the account page, though. Where does the CSS for the account page get inserted? Alternatively, is there a better way to handle this? ( CSS is a poor search term for this forum. :) )

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...