Comments (8)
Hey! First off, thanks for using the project. Secondly, it is not a dumb question.
Take a look at:
/_includes/portfolio_grid.html (line 19)
and
/_includes/modals.html (line 17)
These are the template files. As you can guess {{ post.thumbnail }} and {{ post.img }} are pulled from the markdown files inside the _posts folder.
You'll have to replace the entire line in _includes/portfolio_grid.html (line 19):
<img src="img/portfolio/{{ post.thumbnail }}" class="img-responsive" alt="">
with something like:
<iframe src="{{ post.video }}" class="img-responsive" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
and replace the thumbnail field in the post markdown file like this:
video: http://player.vimeo.com/video/XXXXXX
instead of
thumbnail: dreams-thumbnail.png
Hopefully that should give you enough to get started. If you have any more questions, feel free to ask. I'm at work right now so I have to be a bit brief with my explanation.
Cheers!
from agency-jekyll-theme.
Thank you so much for the quick response. I'll give this a try. Amazing template, learning so much!
from agency-jekyll-theme.
Rick, thanks again. Your suggestion for the video stuff worked great, and
that whole section is now coming together.
If you have time and patience, I have one more question :
I'm adding html pages to this and want to make the Navbar on these pages
always be in the "black with orange title and white nav components" state
it becomes when you scroll down the main page a bit.
I've made copies of the CSS classes and Javascript for these sections and
hacked a bit, but nothing seems to work.
Do you happen to know how to basically disable the scroll-state on the
Navbar and have it always be like it is after a small downward scroll on
the main page? Or force it to start in this state?
Thanks again!
-jeremy
from agency-jekyll-theme.
Sure thing - this one is pretty straightforward actually.
First you want to go to: _includes/js.html and comment out or delete line 10:
// <script src="{{ "/js/cbpAnimatedHeader.js" | prepend: site.baseurl }}"></script>
This script controls the class change of the navbar after the initial scroll.
Then in _includes/header.html, on line 2, you want to add the class 'navbar-shrink' to the navbar like so:
<nav class="navbar navbar-default navbar-fixed-top navbar-shrink">
That should do the trick!
from agency-jekyll-theme.
I am banging my head against the table in joy and stupidity. Can't believe it was that simple... thought I was going to have to dip into Scrollspy and just flail around for a week.
Thank you!
from agency-jekyll-theme.
No problem. All the best!
On Feb 2, 2015 1:21 PM, "jjbbllkk" [email protected] wrote:
I am banging my head against the table in joy and stupidity. Can't believe
it was that simple... thought I was going to have to dip into Scrollspy and
just flail around for a week.Thank you!
—
Reply to this email directly or view it on GitHub
#7 (comment)
.
from agency-jekyll-theme.
Rick, thanks again for all your help. I was able to push my version of
Agency live over the weekend and it looks great, responds fast, and is
overall just awesome. Couldn't have done it without you! Thanks!
-j
On Mon, Feb 2, 2015 at 10:25 AM, Rick K. [email protected] wrote:
No problem. All the best!
On Feb 2, 2015 1:21 PM, "jjbbllkk" [email protected] wrote:I am banging my head against the table in joy and stupidity. Can't
believe
it was that simple... thought I was going to have to dip into Scrollspy
and
just flail around for a week.Thank you!
—
Reply to this email directly or view it on GitHub
<
https://github.com/y7kim/agency-jekyll-theme/issues/7#issuecomment-72508675>.
—
Reply to this email directly or view it on GitHub
#7 (comment)
.
Jeremy Leaird-Koch - http://about.me/jeremylk
from agency-jekyll-theme.
Hey, no worries. I'm glad it all worked out for you. Thanks for using the
project!
Rick
On Mon, Feb 9, 2015 at 11:29 AM, jjbbllkk [email protected] wrote:
Rick, thanks again for all your help. I was able to push my version of
Agency live over the weekend and it looks great, responds fast, and is
overall just awesome. Couldn't have done it without you! Thanks!-j
On Mon, Feb 2, 2015 at 10:25 AM, Rick K. [email protected] wrote:
No problem. All the best!
On Feb 2, 2015 1:21 PM, "jjbbllkk" [email protected] wrote:I am banging my head against the table in joy and stupidity. Can't
believe
it was that simple... thought I was going to have to dip into Scrollspy
and
just flail around for a week.Thank you!
—
Reply to this email directly or view it on GitHub
<.
—
Reply to this email directly or view it on GitHub
<
#7 (comment).
Jeremy Leaird-Koch - http://about.me/jeremylk
—
Reply to this email directly or view it on GitHub
#7 (comment)
.
from agency-jekyll-theme.
Related Issues (20)
- doesnt build locally HOT 2
- vendor links aren't resolving HOT 2
- Agency
- Navbar doesn't appear fast enough HOT 2
- Doesn't build HOT 2
- How to show python projects in _posts HOT 1
- Your theme is listed in jekyllthemes.ru
- Does this work with Git Pages? HOT 1
- Trying to set up a page for an organisation but failing
- Recommend just using forloop.index instead of requiring a modal-id property to be set for every post. HOT 2
- Investigate posible merge with https://github.com/SotiriosVrachas/jekyll-theme-startbootstrap-agency HOT 3
- works locally but no on gh pages HOT 1
- portfolio order HOT 2
- Mobile view HOT 1
- Can't change the icons on services page
- Doesn't work with localhost
- Contact form HOT 1
- _posts not rendering, doesn't seem to register model-id HOT 1
- I updated this theme! This one is outdated, see info below HOT 1
- Website rendering incorrectly HOT 2
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 agency-jekyll-theme.