Hi! Is your website not making the sales that it should? We build highly branded shopify stores. Be your own boss, you want a BUSINESS, not a website only! The best value for your money (17k happy clients) We provide you with lifetime support! No sales in 30 days from our system? Get a full refund Come get your shopify site built for you and dominate your market. PCX Group.com |
PmWiki /
CustomWikiStylesadministrators (intermediate)
This page describes the predefined Wiki Styles and how a Wiki Administrator can define additional Wiki Styles as a local customization for all pages (in local/config.php) or specific groups (in local/$Group.php). All predefined Wiki Styles are setup in the global array Predefined Wiki StylesThe following array-values are set by
Author-Defined Wiki Styles
Sample: If you want to define a (site-wide) style the same as the page style %define=projectentry color:red%
use $WikiStyle['projectentry']['color'] = 'red';
The
then a markup will output Printer-Friendly StylesIf your custom-styles (in local/config.php) are getting very colorful it might be useful to disable them in print-view. This can be done easily by putting them into a condition. if($action!="print") { // your custom-styles } FAQI tried this but background didn't work, though border and float worked? $WikiStyle['vMenu']['background']='#ffffcc' ; $WikiStyle['vMenu']['float']='left' ; $WikiStyle['vMenu']['border']='1px dotted red' ; Try using How would I set an image to the left of a paragraph in a WikiStyle? I'd like to provide an icon for paragraphs that are notes, important, warnings, etc. See WikiStylesPlus and Callout. How can I remove underlining from a link, but make it underlined blue when the mouse hovers? Put in pub/css/local.css: .noul a {text-decoration: none;} .noul a:hover {text-decoration: underline; color: blue;} Then use this markup:
This page may have a more recent version on pmwiki.org: PmWiki:CustomWikiStyles, and a talk page: PmWiki:CustomWikiStyles-Talk. |