August 9, 2013
Starting with 1.8.0, AWPCP incorporated the ability to pull styles from a custom CSS file that isn’t overwritten on upgrade. For those with a quirky theme, or the desire to heavily customize AWPCP’s look to match their site, this is great news…
How to use the AWPCP Custom Style CSS file:
1) Create a file called awpcp_custom_stylesheet.css under wp-content/plugins on your site. This location won’t be overwritten by any plugin or Wordpress on upgrade.
2) Place any style changes you need in this file. It will be loaded such that these changes will take precedence in the CSS hierarchy over other styles in AWPCP.
How do I know what I want to put in this file?
– Good question! Use Firebug (http://getfirebug.com/) with IE or Firefox to determine what styles are being applied to any given element. Once you know what style is causing an issue, you can override it via the custom style CSS file.
What if I see custom hard-coded styling I can’t override?
You may see something like this:
That is controlled from Settings->Ad/Listing settings by altering the HTML templates for Single Ad or Ad Listing. As long as you create valid HTML in there, you can change the templates to be anything you like.
Thanks to MariasC for the tip on that last point!
Most Users Ever Online: 163
Currently Browsing this Page:
Johnny B: 140
NAIN KHAN: 93
Guest Posters: 26
Newest Members:Elisabeth Balson, Nelle Scrymgeour, Kandy McGuffog, Margart Boland, Elizabeth Nieves, Vernita Paras, Kiln, Maribel Ginn, Roberto Altomonte, Ellie Delamothe
Moderators: awpcp: 7530, AWPCP Support: 4247
Administrators: wpengine: 0, awpcp: 297