
Resolved Customization Plugin - Style.css Not Cached
By
noomaking, in DMS & Legacy Products
-
Similar Content
-
By PeterBuilt
Hi,
I'm trying to figure out the best way to handle translations of WP strings in DMS 2 such as "Read more" buttons, "Posted by", "Comments" et cetera...
I know of language files and PoEDIT, but not where to get these for DMS 2.
Will using language specific .po and .mo files affect our work with the Polylang plugin in DMS 2?
Should we include a .po/.mo file for each language we use with Polylang?
Also; what's the proper way to work with a child theme for DMS 2?
Can we use the PageLines Customize Plugin for any of this?
Is this asking too much? :-)
Thanks!
PedroDK
-
By brianr
Currently I'm using the customization plugin to style our new website. I chose it over the child theme method for various reasons.
One customization is changing the color and general style of the static nav bar. I am aware of the Crackbar plugin. But decided I can do the css myself.
So using Firebug I found the code to change the Nav Bar. I did tests and got the style I needed. Then I added the code to the style.css file in the customization plugin directory. When I refreshed my browser to look at changes they happened in Chrome/Safari Mac (Webkit) and not Firefox Mac/Win (Gecko).
Upon doing some searches in the forums here I found another person complaining about the customization plugin not applying their CSS. I saw that someone suggested using the Custom Code form field in the Pagelines Global Settings.
Here's the code I used. You may notice that the classes say 'grey' but some hexidecimal colors are not grey but green.
/*THIS CUSTOMIZES THE BACKGROUND COLORS, BORDER */ .navbar.pl-color-grey { background-color: #80953a; background-image: -moz-linear-gradient(top,#80953a,#80953a); background-image: -ms-linear-gradient(top,#80953a,#80953a); background-image: -webkit-gradient(linear,0 0,0 100%,from(#80953a),to(#80953a)); background-image: -webkit-linear-gradient(top,#80953a,#80953a); background-image: -o-linear-gradient(top,#80953a,#80953a); background-image: linear-gradient(top,#80953a,#80953a); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80953a', endColorstr='#80953a', GradientType=0); border-top: 1px solid #cbe82e; color: #ffffff; } /*THIS CUSTOMIZES THE LIST ITEMS - THE FONTS */ .navbar.pl-color-grey .navline > li > a { color: #FFFFFF; text-shadow: #FFFFFF 0 0px 0; } .navbar.pl-color-grey .navline > li.current-menu-item > a { color: #80953a; background-color: #FFFFFF; text-shadow: #FFFFFF 0 0px 0; } /*THIS CUSTOMIZES THE LIST ITEMS HOVER - THE FONTS */ .navbar.pl-color-grey .navline > li > a:hover { color: #0E4EA2; } I took out the CSS to change the top nav bar from the customization plugin style.css and pasted it in the Custom Code form. THEN it works in Chrome and Firefox. Most oddly IE 8 Windows shows the new Nav Bar colors for a few seconds then reverts to the original NavBar colors I'm trying to override.
Why did this work when just editing the style.css did not? Specifically with how Firefox handled it differently than Chrome. Can I use both methods of editing CSS at the same time without side affects?
Thanks.
-BrianR
-
By cdadjl13
I am trying to understand how to run the customization plugin.
Plenty of 404s on this topic.
Here they are:
http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin/#PageLines_Customize_plugin_vs._the_Base_Theme
http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin/
Please advise on links to using/documentation for the customization plugin.
-
By janpeeters
Over the last month I had extensive communications with the developer of the (premium) Anything Boxes section (in Pagelines store) (Adam Munns) and the developer of the WP Polylang Multilingual plugin (Frederic Demarle).
This was because the following problem occurred:
Anything Boxes showed all posts of two languages (Dutch and English) on the respective static frontpages for each language. It should of course have filtered posts for Dutch language on the Dutch frontpage and English on the English frontpage.
The solution to this problem was simple in the end. When duplicating a page for use in another language the settings for Anything Boxes were not copied to the new page and I should have set these settings manually again on the new page. I wasn't aware of this, but it makes sense. Because of this the pages didn't know how to differentiate between posts from different languages.
The dev of Polylang told me that Polylang is currently smart enough to synchronize metas like Featured images and page templates but it does not work out of the box with metas created by plugins and themes but (according to Frederic) it is rather easy to add them in the list using the filter 'pll_copy_post_metas'.
He mentions that he is not sure that these 'PageLines Meta Settings' are stored in post meta but that would make sense according to him. He asks if the Pagelines dev team will be interested to support this feature in the future.
I'm also wondering if you will consider adding Polylang translation support for manually editable strings like the 'Read more…' strings in Pagelines Settings.
Well that's of course up to you but I thought to let you know to be able to take this into consideration. I also post this for other users in case they experience the same kind of trouble and are looking for an answer.
Best regards,
Jan Peeters
-
By bankrollbuilder
I used a custom hook to put a banner ad in my header. It works but its not in the right position. it is centered and above my logo and I would like to float it to the right of my logo in the header. heres the link: http://shaboopie.com/shaboopie-wp/free-logos-pg1/
thanks.
Dan B.
-