Comments (11)
The css classes for item count aren't working correct.
from govpress.
I simplified this by using filters rather than a walker:
https://github.com/govfresh/govpress/blob/master/inc/icon-menu-extras.php
Still not completely happy with it as someone might intentionally want to use icon-* on another menu.
Perhaps the best solution is to just add an additional rule to all the icon css:
.menu-icon .icon-* a:before { content: '\icon' }
But it's also annoying to add all that css.
from govpress.
Looks like you're using an older version of FA. Do we want to use the newer one?
from govpress.
Added icon CSS into menu, and it's breaking the spacing, causing each to block.
See here: http://civicmeet.govfresh.com/
from govpress.
I'm using version 4.0.3 of FontAwesome- which looks like the latest. Is there something that makes you think it's not?
from govpress.
I tried using the newsest FA code is the CSS and it didn't work so I went
with the old form and that did.
On Saturday, February 15, 2014, Devin Price wrote:
I'm using version 4.0.3 of FontAwesome- which looks like the latest. Is
there something that makes you think it's not?Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-35159807
.
Luke Fretwell
415.722.8678
[email protected]
http://lukefretwell.com
from govpress.
Could you give me an example of the new form and old form?
I did alter the CSS slightly. I'm using "icon" rather than "fa".
https://github.com/govfresh/govpress/blob/master/fonts/font-awesome/font-awesome.css
from govpress.
I see. I had to use 'icon-rocket' which is similar to the markup from 3.2.1 to get it to work so assumed you were pulling from those.
from govpress.
I'm leaning towards changing the markup back to "fa" from "icon". That could help prevent conflicts with other icon libraries. Also allows us to link straight to the font-awesome page so folks can find the class they need. This will cause issues on some of the staging sites- but should be done before release if it is going to happen. Thoughts @lukefretwell?
from govpress.
+1
On Saturday, February 22, 2014, Devin Price wrote:
I'm leaning towards changing the markup back to "fa" from "icon". That
could help prevent conflicts with other icon libraries. Also allows us to
link straight to the font-awesome page so folks can find the class they
need. This will cause issues on some of the staging sites- but should be
done before release if it is going to happen. Thoughts @lukefretwellhttps://github.com/lukefretwell
?Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-35819698
.
Luke Fretwell
415.722.8678
[email protected]
http://lukefretwell.com
from govpress.
Icon prefix has been changed back to "fa". You'll need to update any icon menus you've already set.
from govpress.
Related Issues (20)
- Facebook Like Box (Jetpack) widget won't fit on sidebar HOT 1
- update font awesome to the last version 4.4.0 HOT 1
- Ability to Add Search and Social Buttons to Menu
- Hiding Page Titles HOT 3
- No item adm for footer customization HOT 1
- pr-BR translation, need help to put into production? HOT 1
- Image Gallery plugin or Wodpress native galley
- License is GPLv2?
- Custom logo support
- Abandoned? HOT 1
- Upgrade Font Awesome to latest version
- Update theme description
- Update logo image HOT 1
- Update README
- Change default #0072BC to #0071bc HOT 1
- Change theme URL HOT 1
- Version 1.5.2
- Security alerts
- Review accessibility
- How to Shwo Posts Summary on Homepage?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from govpress.