slp_threeColumns.css
-
The suggested css file in your instructions in a dead link…is there another place to download this.
-
Hello frannny, this is maybe due to an account name change. Please replace the link you are trying to access with: https://gist.github.com/josesayago, or visit this link to access the full repository of files.
Thank you for such a fast response. Hopefully I can get it to work…I couldn’t find a step by step anywhere.
Hey frannny, if you want to use a custom stylesheet follow these steps:
- Place the custom stylesheet in your active WordPress theme folder (where style.css is found)
- If using a shortcode set the
css_styleparameter like this:css_style=slp_threeColumns - If using widgets, then set the CSS Style field to
slp_threeColumns
Notice there is no
.cssat the end of the filename. That’s all you need to make it work.Please remember, if you are using multiple instances of the plugin within a page, all of them will be affected by the same stylesheet, however it won’t for the rest of your site, so make sure to include the file at least once per instance in any page you will be using the plugin.
I hope this information helps.
Best regards,
José SAYAGO.OK I have placed a file copied and named slp_threeColumns.css into the folder where my style.css file is found.
When you say add “css_style=slp_threeColumns” to the “css_style parameter” do you mean ” Custom CSS Filename”? I don’t see any other place to put it…
I am trying to get it show with only 325×325 images in 3 colums with a total of 28 images from the posts. This is what I get when I try it. Sorry, I could not find content matching your parameters.Hi, are you using a widget or a shortcode?
short code
Then it should look something like:
[slposts ..your options.. css_style="slp_threeColumns" ]Full example:
[slposts title_only=false auto_excerpt=true thumbnail=true thumbnail_wh=325x325 display_type=block css_style=slp_threeColumns ]Thank you for your fast response Jose. However I input it exactly as you have above and I’ve enclosed the image of the results. I use Suffusion as my wp theme. I guess I don’t know how to add an image…so I’ll send you a link that I hope you can see and that I’ll leave up for a while.
I checked your site and it seems the CSS file is not where it is supposed to be, here is what the inspector says:
http://yoursite.net/wp-content/themes/suffusion/slp_threeColumns.css?ver=4.2.1 Failed to load resource: the server responded with a status of 404 (Not Found)Have you double-checked the custom CSS file is in the right folder?
Yes I have it in the theme folder where the style.css is as mentioned above. It appears I had it named incorrectly. I have now renamed it slp_threeColumns.css. But it still doesn’t work. I cleared the cache and reloaded the page. It does work in pages right?
Ok I see the styling is working at least for what it is by default, however you may want to add a few extra rules to make it completely match your theme style.
Maybe you are wondering why the thumbnail is a mere placeholder, this is because your post must contain a “Featured Image” so it can be loaded there.
so this won’t work with first image in post? I don’t have any images as “featured” as I only have 1 image in each post and never will have more.
That explains why it’s now showing the image in the widget either.At least not for now, WordPress includes lots of default fields people usually decide to skip. For this reason I included the
auto_excerptoption, however for images I have not had the time to add something similar.I am planning to add this as a feature request, so the plugin pulls the first image found within the post content.
Sadly there is no quick solution for this now, but I will update this thread as soon as I have included something that works.
Thank you for being so helpful! But alas I am disappointed as this would have been perfect 🙂
Yeah, it is difficult to provide a tool that fulfills everybody’s needs. But luckily people like you takes the time to give useful feedback that help us (developers) improve our plugins.
I have already added this to my TODO list to include it in the next update.
Sorry for the inconvenience this may cause you. I will keep you posted on updates regarding this functionality being included in the next version.
Kind regards,
Jose SAYAGO.
The topic ‘slp_threeColumns.css’ is closed to new replies.