We're proud to release our latest Drupal theme Pompano, a general use responsive theme (of course) that brings a couple new bits of jQuery fun to the table: Infinite scrolling on views using the...
I really like the default display of content on the frontpage of the Neptune theme, but I'm having trouble recreating that same look on subsequent pages throughout my site. Can you advise?
We're proud to release our latest Drupal theme Pompano, a general use responsive theme (of course) that brings a couple new bits of jQuery fun to the table: Infinite scrolling on views using the...
Back at the end of 2007 I took note that there were very few premium Drupal theme sites, and I started working on learning the platform and Drupal theming methods. I hadn't used Drupal prior to...
Presenting our March Theme, Atlantic! This is a super clean corporate flavored theme that uses almost pure CSS3 to get the job done - it's fast and responsive and search engines will love it. As...
i'm asking because when i create a basic page w/ a view inside, it just doesn't look the same as the home page (displaying the view as a grid gets it close, but doesn't have the same feels as the responsive design implemented on the front page). i bought this neptune template b/c i wanted that design throughout the site, but the site has different sub-sections with landing pages of their own. Any help is appreciated.
Hi,
Do you have the site live somewhere I could take a look? Class names need to be added to some jquery in scripts-style1.js (or which ever style you're using). The reason this isn't done automatically is because views take there classes from their names, so it's difficult to predict.
The code begins on line 54 and looks like this:
$(function(){
var vg = $(".node-content-inner").vgrid({
So you need to add your classes to it :
$(function(){
var vg = $(".node-content-inner, .view-viewname").vgrid({
But if you have your site live I should be able to tell you what you can change so one addition will work for all views.
It's not public, yet. I'm running the site on MAMP right now. The name of the view is "post-workshop". The URL to the page with view on it is:
http://localhost/drupal/post-workshop
...so I changed the .js file to the following:
var vg = $(".node-content-inner, .view-post-workshop").vgrid({
However, that didn't seem to work. Currently, the view is configured to be displayed as an unformatted list. Any other ideas?
Try this instead:
var vg = $(".node-content-inner, .view-post-workshop .view-content").vgrid({
or perhaps just:
var vg = $(".node-content-inner .view-post-workshop .view-content").vgrid({
Omitting the comma between the classes.
I can't check that link you provided because it's just a link to your local machine.