Comments (5)
Hi,
Did you choose the nodes where the assets should be inserted?
from pagekit-assets.
I created a little demo screencast on how to use JS/CSS and node selection:
I also tried to override the shariff-styling:
from pagekit-assets.
I have visibility set for 'all pages'. I'm posting some cropped screen-grabs to show the settings page for the widget and asset, and one is a view page source for the site.
On the widget setup... on the settings tab is just the name (labeled, Share), set to enabled, and loaded in the 'footer' section of the theme. None of the 'overwrites' are ticked. Visibility tab is set for 'all pages'. The theme tab is:
For the asset... Visibility is also 'all pages' - w/ the settings tab as:
And the view source for the site...
Here's the site link with everything still in place if you want to see how it renders... https://enami.lumiworx.com
Shariff is loaded below everything else within the footer section of the widget list, and in the visual order it appears on the page. The CSS 'link href' from Assets never gets inserted below the line for Sheriff, and I've tried it as both an inline setting and save-as-file. The result is the same... it's always next-to-last in the header order of references, and always above Sheriff... so obviously if it's not below it, it will never override it.
If it matters, I've cloned the Avion theme from pagekit.com, and customized the css to suit my own taste.
from pagekit-assets.
Hm... I don't get your point. It's not a bug of this extension, as I can not change the order of style
or scripts
using the helper Pagekit provides.
As you see, your content is being inserted inline:
<style>shariff-button a {
border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
}</style>
So what you can do: Overwrite it with !important
, if necessary, as I've shown in my screenshot.
There's also an error I guess. It has to be .shariff-button a
- you just wrote shariff-button a
.
from pagekit-assets.
I am going to close this issue, as there is no bug in spqr/assets. If you need more help using the extension or with css, please use https://pagekit-forum.org .
If you are sure that this is a bug, please reopen.
from pagekit-assets.
Related Issues (4)
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 pagekit-assets.