I'm working on creating a Jekyll site based on a fork of: https://github.com/barryclark/jekyll-now.
I am trying to replace the header with my own header image but the image shows up as a broken link.
Here is my code:
<div class="wrapper-masthead">
<div class="container">
<header class="masthead clearfix">
<img src="https://goo.gl/photos/pnvSq1hjp4NX9PPq5">
<nav>
Blog
About
</nav>
</header>
</div>
</div>
That's simply because https://goo.gl/photos/pnvSq1hjp4NX9PPq5 doesn't redirect to an image file.
This is the image URL you want to use.
<img src="https://lh3.googleusercontent.com/HNy8Td1CVPcyGEyisc2DjAD0jQeF4gf8fR4ZFcM-5Z19OgFLwhujmmSd7Lw-s6CkKtWHGNJep2gGQ2P0973cB5xBpVhyw_2s1XAk2OQLVKIOFJjTky-OJ1sk9Rv_9rzHcpRBvmS7Y0BIB7a_pB34AB34oJl7NIBh9bBvMdhl36ogVCzjIfk9Tg0wS-crAOEoRfl5yvgUXwHnWeZzj_LZ0b0gFElUFvhYYvJ5LAxXLVjk_AuOcaR4WTuXOTdYHAU2311M26VVOJb7UD0nYDholpt0uioTvNDT3iqCVvMu1LijWqc9qWdyLfh5BzBOk17iSnofTnPNH9PKKRonKpRF_sf-OOagwpGu_BScMfhQns0qusCj3O2SyMbh2577a2Yj9sgNI5LTTyl3GIVMX_PnIPmGuVpe7k7gCZ3jnqwMCy-kz6xCH3XS3asiqCBGmjC4m6yziYMyzYE2xjB7C_LMf_NE7YUu96C8vIW1tbTccUlyTWLO_GKeeuWy3wCm0EceuVhJPNBSmqd4-D3wJ8A9ga2xJkfFSi2kDwxKuyMkPbDQiTrCP0Q6S6lAPpBM7Zh9nKI9=w678-h90-no">
Related
I can't change the heading image on a WordPress page. I tried using Elementor and the WordPress code editor, but it doesn't work. I can't figure out where to set the image from. This is what I see from the WordPress code editor.
<section class="fw-main-row ">
<div class="fw-container">
<div class="fw-row">
<div class="fw-col-xs-12">
<div class="fw-heading fw-heading-h2 ">
<h2 class="fw-special-title">¿Qué es la lombricultura?</h2>
</div>
</div>
</div>
</div>
Hey so I am trying to inject a background image to my Django template however for some reason I do not know why it not loading I tried inline styling on the html(** ) tag but nothing
I the tried to to make an external css file but still not working can you please show me what I can be possibly doing wrong here.
** Below is the code to my html tag that I want to put the background image to**
<div class="hero-wrap js-fullheight" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-start" data-scrollax-parent="true">
<div class="col-md-6 ftco-animate">
<h2 class="subheading">Leave the house cleaning chores to us</h2>
<h1 class="mb-4">Let us do the dirty work, so you don't have to.</h1>
<p>Learn more <span class="ion-ios-arrow-forward"></span></p>
</div>
</div>
</div>
</div>
And here below is the external css file that I made to test if it would work having an external stylesheet
.hero-wrap js-fullheight{
background-image: url('static/images/bg_1.jpg');
}
If possible can you teach me how I can make inline background-image on the html tags using Django templates
try this:
<div class="hero-wrap js-fullheight" data-stellar-background-ratio="0.5" style="background-image: url({% static '/images/bg_1.jpg' %});">
I have this responsive website. But I have a problem I have been trying to solve. The problem is that header loses style when small screens
This is part of the code
<div class="hgroup-wrap">
<div id="container-header" class="container clearfix">
<section id="site-logo" class="clearfix">
<h1 id="site-title">
<a href="http://conlami.org.mx/conlami/" title="CONLAMI" rel="home">
<img id="image-full" src="http://conlami.org.mx/conlami/wp-content/uploads/2016/09/LOGOTEXTO.png" alt="CONLAMI">
</a>
</h1>
</section>
</div>
</div>
This happens because header image is too large. Image is already responsive. But it doesn't work properly.
This wouldn't happen if for example I remove text from image and leave only logo.
I have tried text in another section but I couldn't make it work.
So. Do you have any suggestions about what can I try?
I am working on a page and i got stuck. (Yes, I´m a beginner :-) .)
I have a Header followed by a section. I want to have pictures that is between the header and section. I have positioned the image but it keeps going "under" the header so that you don't see half of it. I been trying to use z-index but i want work? My goal is to have half of the picture in the header-section and half if the other section.
Any tips? The beginning of my code is below (I omitted html, head for convenience).
<div class="big_mama">
<header>
<nav class="main_nav">
<ul>
</ul>
</nav>
</header>
<section id="section">
<article class="article">
<div class="pictures">
<img src="#" />
</div>
</article>
<article class="article">
<div class="pictures">
<img src="#" />
</div>
</article>
</div>
First, you should place the image in header section. Set the header with the property position:relative, set position:absolute for the image you want to put and set bottom:-50% or bottom:0px; margin-bottom:-50%.
<header style="position:relative">
<img src="#" style="position:absolute; bottom:-50%">
This should do the trick.
Cheers.
I'm trying to make the banner in my tumblr blog link to another site. I can't figure out how to do it. The following is the code I found in the custom html tab but I can't seem to make my banner clickable. Where exactly should I add the website address for the link? Any help will be appreciated.
<div id="page" class="{block:IfLeftSidebar}left-sidebar{/block:IfLeftSidebar}{block:IfNotLeftSidebar}right-sidebar{/block:IfNotLeftSidebar}">
{block:IfBannerImage}
<div class="banner">
<img id="banner" src="{image:Banner}" alt="banner"/>
</div>
{block:IfBannerImage}
{block:IfNotBannerImage}
{block:IfBlogTitleInPageHeader}
<div class="banner textual">
<h1 class="blog-title">{Title}</h1>
{block:IfTagline}<p class="tagline">{text:Tagline}</p>{/block:IfTagline}
</div>
{/block:IfBlogTitleInPageHeader}
{/block:IfNotBannerImage}
<div id="content">
<div class="banner">
<img id="banner" src="{image:Banner}" alt="banner"/>
</div>
put your website in the
href=""