displaying one div while hovering another one in html error - css

i have a section in html which is divided into two, in one section i am listing some points and in another i am displaying their corresponding sentance on hover, i did like the following:
.showme {
display: none;
}
.single-fun-fact:hover~.showme {
display: block;
}
<section class="company-groth section overlay-with-img gray-bg">
<img src="UK STUDY-03.jpg" alt="" class="bg-img">
<div class="company-groth">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="fun-fact">
<div style="margin-top: -25%; margin-left: -5%;" class="section-head text-center">
<h2>Highlights Of Study In UK</h2>
<div class="section-divider">
<div class="left wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.2s"></div>
<span></span>
<div class="right wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.2s"></div>
</div>
<p></p>
</div>
<div id="hulk" class="single-fun-fact">
<p class="counte">NO</p>
<h2 style="margin-left: 15%;">IELTS REQUIRED</h2>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">NO</p>
<h2 style="margin-left: 15%;">BACKLOGS COUNT</h2>
<div class="showme1">
<h2>And <b> Career Gap</b> is not an issue.</h2>
</div>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">SCHOLARSHIP</p>
<h2 style="margin-left: 5%;">OPPORTUNITIES</h2>
<div class="showme2">
<h2>Upto 3000£ for your studies.</h2>
</div>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">QUICK</p>
<h2 style="margin-left: 15%;">ADMISSION</h2>
<div class="showme3">
<h2>In UK admission decisions are much faster, so we can expect a decision in 2-3 weeks.</h2>
</div>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">CAN</p>
<h2 style="margin-left: 15%;">WORK PART TIME</h2>
<div class="showme4">
<h2>20 hours per week during academic intakes and 40 hours during vacation.</h2>
</div>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">THREE</p>
<h2 style="margin-left: 15%;">YEAR GRADUATION</h2>
<div class="showme5">
<h2>Most UK universities recognize the Indian education system of 3year graduation.</h2>
</div>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">SPOUSE</p>
<h2 style="margin-left: 15%;">CAN TRAVEL</h2>
<div class="showme6">
<h2>Along with the student and can work full time.</h2>
</div>
</div>
<!-- .single-fun-fact -->
<div class="single-fun-fact">
<p class="counte">LOW</p>
<h2 style="margin-left: 15%;">TUITION FEE</h2>
<div class="showme7">
<h2>High quality of education with low tuition fee.</h2>
</div>
</div>
<!-- .single-fun-fact -->
</div>
</div>
<!-- .col -->
<div class="col-md-6">
<div class="company-groth-graph-wrap">
<div class="showme">
<h2>If student has 60-65% above in Intermediate English.</h2>
</div>
</div>
<!-- .company-groth-graph-wrap -->
</div>
<!-- .col -->
</div>
</div>
</div>
</section>
but while hovering on the div, its not displaying the hidden div. please tell me what is wrong with my code. thanks in advance

The issue is because .single-fun-fact and .showme are not siblings, as the ~ operator requires them to be.
For this to work you need to amend your selector to include the sibling .col-md-6 element:
.showme {
display: none;
}
.single-fun-fact:hover ~ .col-md-6 .showme {
display: block;
}
<div id="hulk" class="single-fun-fact">
<p class="counte">NO</p>
<h2 style="margin-left: 15%;">IELTS REQUIRED</h2>
</div>
<div class="col-md-6">
<div class="company-groth-graph-wrap">
<div class="showme">
<h2>If student has 60-65% above in Intermediate English.</h2>
</div>
</div>
</div>
Update
Given your updated HTML the problem is because you've used .showme1, .showme2, .showmeN classes instead of the same .showme class on all elements. Fix that and it works:
.showme {
display: none;
}
.single-fun-fact:hover .showme {
display: block;
}
<section class="company-groth section overlay-with-img gray-bg">
<img src="UK STUDY-03.jpg" alt="" class="bg-img">
<div class="company-groth">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="fun-fact">
<div style="margin-top: -25%; margin-left: -5%;" class="section-head text-center">
<h2>Highlights Of Study In UK</h2>
<div class="section-divider">
<div class="left wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.2s"></div>
<span></span>
<div class="right wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.2s"></div>
</div>
<p></p>
</div>
<div id="hulk" class="single-fun-fact">
<p class="counte">NO</p>
<h2 style="margin-left: 15%;">IELTS REQUIRED</h2>
</div>
<div class="single-fun-fact">
<p class="counte">NO</p>
<h2 style="margin-left: 15%;">BACKLOGS COUNT</h2>
<div class="showme">
<h2>And <b> Career Gap</b> is not an issue.</h2>
</div>
</div>
<div class="single-fun-fact">
<p class="counte">SCHOLARSHIP</p>
<h2 style="margin-left: 5%;">OPPORTUNITIES</h2>
<div class="showme">
<h2>Upto 3000£ for your studies.</h2>
</div>
</div>
<div class="single-fun-fact">
<p class="counte">QUICK</p>
<h2 style="margin-left: 15%;">ADMISSION</h2>
<div class="showme">
<h2>In UK admission decisions are much faster, so we can expect a decision in 2-3 weeks.</h2>
</div>
</div>
<div class="single-fun-fact">
<p class="counte">CAN</p>
<h2 style="margin-left: 15%;">WORK PART TIME</h2>
<div class="showme">
<h2>20 hours per week during academic intakes and 40 hours during vacation.</h2>
</div>
</div>
<div class="single-fun-fact">
<p class="counte">THREE</p>
<h2 style="margin-left: 15%;">YEAR GRADUATION</h2>
<div class="showme">
<h2>Most UK universities recognize the Indian education system of 3year graduation.</h2>
</div>
</div>
<div class="single-fun-fact">
<p class="counte">SPOUSE</p>
<h2 style="margin-left: 15%;">CAN TRAVEL</h2>
<div class="showme">
<h2>Along with the student and can work full time.</h2>
</div>
</div>
<div class="single-fun-fact">
<p class="counte">LOW</p>
<h2 style="margin-left: 15%;">TUITION FEE</h2>
<div class="showme">
<h2>High quality of education with low tuition fee.</h2>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="company-groth-graph-wrap">
<div class="showme">
<h2>If student has 60-65% above in Intermediate English.</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</section>

Try this code
HTML
<div id="hulk" class="single-fun-fact">
<p class="counte">NO</p>
<h2 style="margin-left: 15%;">IELTS REQUIRED</h2>
</div>
<!-- .single-fun-fact -->
<div class="col-md-6">
<div class="company-groth-graph-wrap">
<div class="showme">
<h2>If student has 60-65% above in Intermediate English.</h2>
</div>
</div>
<!-- .company-groth-graph-wrap -->
</div>
CSS
.showme { display: none; }
.single-fun-fact:hover + div div.showme { display: block; }

Related

How do I apply justify-content: space-between to this column?

I cannot apply justify-content: space-between to "DIV1", the div containing all the items in the column.
I have tried to change the height of DIV1 and any of its parent containers to 100%.
I have tried to set the positioning of DIV1 and the "ARTICLE_#" elements to both relative and absolute.
I have tried to set flex-grow: 0 to all the article elements.
I have tried to remove overflows. (This was because when I have set the positioning of the ARTICLE items to relative, the space-between works, but there is an ARTICLE sized gap between all articles. This test I have done on the live version of the page only:
https://utopistlist.com/renowned-nomads-vagabonds-and-hobos/
There if you try to set:
.related .lome.tg-item {
position: relative !important;
}
the space-between works, but with article size gaps between articles.
This is not the original code since the elements were exported from my site from dynamic into static version, so the selectors have changed.
I have changed the height of the column from the original 5786px (live page) to 7786px, because otherwise there would have been no place left for the alignment in the extracted code for showcasing.
https://codepen.io/any_formless/pen/JjPXdQY
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://rawcdn.githack.com/internetwiki/examplecss/d85cd8dbe31678dc4f9786693a82614592dd0a12/example.css" media="screen" />
</head>
<div id="DIV_1">
<!-- The Grid item #1 -->
<article id="ARTICLE_2">
<div id="DIV_3">
<div id="DIV_4">
<div id="DIV_5">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/healthy_and_cheap_eats-1-min-1024x1024.png" id="IMG_6" />
</div>
<div id="DIV_7">
</div>
<div id="DIV_8">
<div id="DIV_9">
<div id="DIV_10">
<span id="SPAN_12">January 12, 2018</span>
<h2 id="H2_13">
healthy and cheap eats
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #2 -->
<article id="ARTICLE_15">
<div id="DIV_16">
<div id="DIV_17">
<div id="DIV_18">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy6.jpg" id="IMG_19" />
</div>
<div id="DIV_20">
</div>
<div id="DIV_21">
<div id="DIV_22">
<div id="DIV_23">
<span id="SPAN_25">August 9, 2019</span>
<h2 id="H2_26">
⠀⠀⠀⠀⠀⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #3 -->
<article id="ARTICLE_28">
<div id="DIV_29">
<div id="DIV_30">
<div id="DIV_31">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/robyn_davidson-min-1-1024x1024.png" id="IMG_32" />
</div>
<div id="DIV_33">
</div>
<div id="DIV_34">
<div id="DIV_35">
<div id="DIV_36">
<span id="SPAN_38">January 4, 2018</span>
<h2 id="H2_39">
woman explorers and travelers
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #4 -->
<article id="ARTICLE_41">
<div id="DIV_42">
<div id="DIV_43">
<div id="DIV_44">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy5.jpg" id="IMG_45" />
</div>
<div id="DIV_46">
</div>
<div id="DIV_47">
<div id="DIV_48">
<div id="DIV_49">
<span id="SPAN_51">August 9, 2019</span>
<h2 id="H2_52">
⠀⠀⠀⠀⠀⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #5 -->
<article id="ARTICLE_54">
<div id="DIV_55">
<div id="DIV_56">
<div id="DIV_57">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/franz_degenhardt-min-1-1-1024x1024.png" id="IMG_58" />
</div>
<div id="DIV_59">
</div>
<div id="DIV_60">
<div id="DIV_61">
<div id="DIV_62">
<span id="SPAN_64">January 15, 2018</span>
<h2 id="H2_65">
left-wing musicians
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #6 -->
<article id="ARTICLE_67">
<div id="DIV_68">
<div id="DIV_69">
<div id="DIV_70">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy3.jpg" id="IMG_71" />
</div>
<div id="DIV_72">
</div>
<div id="DIV_73">
<div id="DIV_74">
<div id="DIV_75">
<span id="SPAN_77">August 9, 2019</span>
<h2 id="H2_78">
⠀⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #7 -->
<article id="ARTICLE_80">
<div id="DIV_81">
<div id="DIV_82">
<div id="DIV_83">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/beingliberal-min-min-1024x1024.png" id="IMG_84" />
</div>
<div id="DIV_85">
</div>
<div id="DIV_86">
<div id="DIV_87">
<div id="DIV_88">
<span id="SPAN_90">January 5, 2018</span>
<h2 id="H2_91">
online liberal journals
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #8 -->
<article id="ARTICLE_93">
<div id="DIV_94">
<div id="DIV_95">
<div id="DIV_96">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy4.jpg" id="IMG_97" />
</div>
<div id="DIV_98">
</div>
<div id="DIV_99">
<div id="DIV_100">
<div id="DIV_101">
<span id="SPAN_103">August 9, 2019</span>
<h2 id="H2_104">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #9 -->
<article id="ARTICLE_106">
<div id="DIV_107">
<div id="DIV_108">
<div id="DIV_109">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2017/12/slavojzizek-min-2-min-1-1024x1024.png" id="IMG_110" />
</div>
<div id="DIV_111">
</div>
<div id="DIV_112">
<div id="DIV_113">
<div id="DIV_114">
<span id="SPAN_116">December 30, 2017</span>
<h2 id="H2_117">
left-wing philosophers
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #10 -->
<article id="ARTICLE_119">
<div id="DIV_120">
<div id="DIV_121">
<div id="DIV_122">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy2.jpg" id="IMG_123" />
</div>
<div id="DIV_124">
</div>
<div id="DIV_125">
<div id="DIV_126">
<div id="DIV_127">
<span id="SPAN_129">August 9, 2019</span>
<h2 id="H2_130">
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #11 -->
<article id="ARTICLE_132">
<div id="DIV_133">
<div id="DIV_134">
<div id="DIV_135">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2017/12/rogerscruton-min-1-min-1-1024x1024.png" id="IMG_136" />
</div>
<div id="DIV_137">
</div>
<div id="DIV_138">
<div id="DIV_139">
<div id="DIV_140">
<span id="SPAN_142">December 30, 2017</span>
<h2 id="H2_143">
right-wing thinkers
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #12 -->
<article id="ARTICLE_145">
<div id="DIV_146">
<div id="DIV_147">
<div id="DIV_148">
<img alt="" width="485" height="485" src=" /wp-content/uploads/2019/08/squarestudy1.jpg" id="IMG_149" />
</div>
<div id="DIV_150">
</div>
<div id="DIV_151">
<div id="DIV_152">
<div id="DIV_153">
<span id="SPAN_155">August 9, 2019</span>
<h2 id="H2_156">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #13 -->
<article id="ARTICLE_158">
<div id="DIV_159">
<div id="DIV_160">
<div id="DIV_161">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/grigoriperelman-min-min-1024x1024.png" id="IMG_162" />
</div>
<div id="DIV_163">
</div>
<div id="DIV_164">
<div id="DIV_165">
<div id="DIV_166">
<span id="SPAN_168">January 6, 2018</span>
<h2 id="H2_169">
notable recluses
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #14 -->
<article id="ARTICLE_171">
<div id="DIV_172">
<div id="DIV_173">
<div id="DIV_174">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy7.jpg" id="IMG_175" />
</div>
<div id="DIV_176">
</div>
<div id="DIV_177">
<div id="DIV_178">
<div id="DIV_179">
<span id="SPAN_181">August 9, 2019</span>
<h2 id="H2_182">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #15 -->
<article id="ARTICLE_184">
<div id="DIV_185">
<div id="DIV_186">
<div id="DIV_187">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2017/12/heartofglassfilm-min-1-min-1-1024x1024.png" id="IMG_188" />
</div>
<div id="DIV_189">
</div>
<div id="DIV_190">
<div id="DIV_191">
<div id="DIV_192">
<span id="SPAN_194">December 30, 2017</span>
<h2 id="H2_195">
art-house films
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #16 -->
<article id="ARTICLE_197">
<div id="DIV_198">
<div id="DIV_199">
<div id="DIV_200">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy8.jpg" id="IMG_201" />
</div>
<div id="DIV_202">
</div>
<div id="DIV_203">
<div id="DIV_204">
<div id="DIV_205">
<span id="SPAN_207">August 11, 2019</span>
<h2 id="H2_208">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #17 -->
<article id="ARTICLE_210">
<div id="DIV_211">
<div id="DIV_212">
<div id="DIV_213">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/adamgreen-min-min-1-1024x1024.png" id="IMG_214" />
</div>
<div id="DIV_215">
</div>
<div id="DIV_216">
<div id="DIV_217">
<div id="DIV_218">
<span id="SPAN_220">January 3, 2018</span>
<h2 id="H2_221">
distinct musicians
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #18 -->
<article id="ARTICLE_223">
<div id="DIV_224">
<div id="DIV_225">
<div id="DIV_226">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy9.jpg" id="IMG_227" />
</div>
<div id="DIV_228">
</div>
<div id="DIV_229">
<div id="DIV_230">
<div id="DIV_231">
<span id="SPAN_233">August 11, 2019</span>
<h2 id="H2_234">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #19 -->
<article id="ARTICLE_236">
<div id="DIV_237">
<div id="DIV_238">
<div id="DIV_239">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/munchausentrilemma-min-min-1-1024x1024.png" id="IMG_240" />
</div>
<div id="DIV_241">
</div>
<div id="DIV_242">
<div id="DIV_243">
<div id="DIV_244">
<span id="SPAN_246">January 4, 2018</span>
<h2 id="H2_247">
unsolved problems in philosophy
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #20 -->
<article id="ARTICLE_249">
<div id="DIV_250">
<div id="DIV_251">
<div id="DIV_252">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy10.jpg" id="IMG_253" />
</div>
<div id="DIV_254">
</div>
<div id="DIV_255">
<div id="DIV_256">
<div id="DIV_257">
<span id="SPAN_259">August 11, 2019</span>
<h2 id="H2_260">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #21 -->
<article id="ARTICLE_262">
<div id="DIV_263">
<div id="DIV_264">
<div id="DIV_265">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/friedrichnietsche-min-min-1-2-1024x1024.png" id="IMG_266" />
</div>
<div id="DIV_267">
</div>
<div id="DIV_268">
<div id="DIV_269">
<div id="DIV_270">
<span id="SPAN_272">January 6, 2018</span>
<h2 id="H2_273">
atheist philosophers
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #22 -->
<article id="ARTICLE_275">
<div id="DIV_276">
<div id="DIV_277">
<div id="DIV_278">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy11.jpg" id="IMG_279" />
</div>
<div id="DIV_280">
</div>
<div id="DIV_281">
<div id="DIV_282">
<div id="DIV_283">
<span id="SPAN_285">August 11, 2019</span>
<h2 id="H2_286">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #23 -->
<article id="ARTICLE_288">
<div id="DIV_289">
<div id="DIV_290">
<div id="DIV_291">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/thebluebrainproject-min-min-1-1024x1024.png" id="IMG_292" />
</div>
<div id="DIV_293">
</div>
<div id="DIV_294">
<div id="DIV_295">
<div id="DIV_296">
<span id="SPAN_298">January 6, 2018</span>
<h2 id="H2_299">
artificial brain intelligence
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #24 -->
<article id="ARTICLE_301">
<div id="DIV_302">
<div id="DIV_303">
<div id="DIV_304">
<img alt="" width="500" height="501" src=" /wp-content/uploads/2019/08/squarestudy12.jpg" id="IMG_305" />
</div>
<div id="DIV_306">
</div>
<div id="DIV_307">
<div id="DIV_308">
<div id="DIV_309">
<span id="SPAN_311">August 11, 2019</span>
<h2 id="H2_312">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #25 -->
<article id="ARTICLE_314">
<div id="DIV_315">
<div id="DIV_316">
<div id="DIV_317">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/blockchain-min-min-1-1024x1024.png" id="IMG_318" />
</div>
<div id="DIV_319">
</div>
<div id="DIV_320">
<div id="DIV_321">
<div id="DIV_322">
<span id="SPAN_324">January 8, 2018</span>
<h2 id="H2_325">
decentralizing technologies
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #26 -->
<article id="ARTICLE_327">
<div id="DIV_328">
<div id="DIV_329">
<div id="DIV_330">
<img alt="" width="500" height="500" src=" /wp-content/uploads/2019/08/squarestudy13.jpg" id="IMG_331" />
</div>
<div id="DIV_332">
</div>
<div id="DIV_333">
<div id="DIV_334">
<div id="DIV_335">
<span id="SPAN_337">August 11, 2019</span>
<h2 id="H2_338">
⠀
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #27 -->
<article id="ARTICLE_340">
<div id="DIV_341">
<div id="DIV_342">
<div id="DIV_343">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/means_of_non_violent_action-min-min-1-1024x1024.png" id="IMG_344" />
</div>
<div id="DIV_345">
</div>
<div id="DIV_346">
<div id="DIV_347">
<div id="DIV_348">
<span id="SPAN_350">January 10, 2018</span>
<h2 id="H2_351">
means of nonviolent action
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
<!-- The Grid item #28 -->
<article id="ARTICLE_353">
<div id="DIV_354">
<div id="DIV_355">
<div id="DIV_356">
<img alt="" width="980" height="980" src=" /wp-content/uploads/2018/01/tiddlywiki-min-min-1024x1024.png" id="IMG_357" />
</div>
<div id="DIV_358">
</div>
<div id="DIV_359">
<div id="DIV_360">
<div id="DIV_361">
<span id="SPAN_363">January 10, 2018</span>
<h2 id="H2_364">
mind mapping tools
</h2>
</div>
</div>
</div>
</div>
</div>
</article>
</div>
</html>
Justify-content doesn't work as intended because every article you have is using position: absolute. When you use position: absolute, the position of the element only cares about the top, left, right, bottom attributes.
Also, you don't need individual styling for each article, since each article looks the same.
Just have one class called .article and put all your styling there. Remove the positioning and let flexbox take care of it for you.
EDIT:
The OP's solution is also part of the overall answer.
OP's answer:
I found the solution, one of the parent (grand-grand parent)
containers was not at 100 % height. And since Stackoverflow only
allows 30000 characters in the code field, I could not post the whole
code with the many parent containers.
I found the solution, one of the parent (grand-grand parent) containers was not at 100 % height. And since Stackoverflow only allows 30000 characters in the code field, I could not post the whole code with the many parent containers.

Responsive Bootstrap 4 layout

I am new to bootstrap and trying to complete my website which include a section something like this . Please help me to achieve this.
here is my code (if that helps)
<div class="row mfoo">
<div class="col-5 illus col-xs-12">
<img src="./images/illustration-features.svg" />
</div>
<div class="col-md-7 col-xs-12 text-right">
<div class="row">
<div class="col-7 col-xs-12">
<p class="features_title"> </p>
<p class="features_desc"> </p>
</div>
<div class="col-5 col-xs-12">
<p class="features_title"> </p>
<p class="features_desc"> </p>
</div>
</div>
<br />
<div class="row">
<div class="col-7 col-xs-12">
<p class="features_title"> </p>
<p class="features_desc"> </p>
</div>
<div class="col-5 col-xs-12">
<p class="features_title"> </p>
<p class="features_desc"> </p>
</div>
</div>
</div>
</div>
You use col-xs-* but xs size does not exsit in bootstrap-4
So use only col-md-5/7
See working code
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
<div class="container">
<div class="row mfoo">
<div class="col-md-5 illus">
<img src="./images/illustration-features.svg" />
</div>
<div class="col-md-7">
<div class="row">
<div class="col-7 col-sm-12">
<p class="features_title"> dsf</p>
<p class="features_desc"> df</p>
</div>
<div class="col-5 col-sm-12">
<p class="features_title"> df</p>
<p class="features_desc"> df</p>
</div>
</div>
<br />
<div class="row">
<div class="col-7 col-sm-12">
<p class="features_title"> </p>
<p class="features_desc"> </p>
</div>
<div class="col-5 col-sm-12">
<p class="features_title"> </p>
<p class="features_desc"> </p>
</div>
</div>
</div>
</div>
</div>
to create your desired layout,
I've reproduce your code here with the solution
<div class="row mfoo">
<div class="col-lg-5 col-sm-12 illus col-xs-12">
<img src="https://cdn.pixabay.com/photo/2018/11/29/21/19/hamburg-3846525_1280.jpg" />
</div>
You can see complete code here: https://jsfiddle.net/wlum/kva1g5mp/7/
I have changed the col-5 into col-lg-5, so when small screen it will call the col-xs-12.
Bootstrap Grid System
In Bootstrap 4, There are two classes that are used for defining mobile devices. For smaller devices they use.col-sm- and for extra smaller devices they use .col-.

Overlapping Sections with Bulma CSS

I am trying to learn Bulma and I want to show a simple page with this layout:
<header>
<hero>
<section>
<footer>
I don't understand why they overlap with each other instead of being clearly one below the other.
There is a dummy container that is obviously misplaced and hidden by the header.
The overlapping is also obvious by the search bar that is both over part of the footer and the hero.
https://codepen.io/anon/pen/bLgOWb
<nav class="navbar is-primary is-fixed-top has-text-white">
<div class="container">
<div class="navbar-brand">
<img id="logo" alt="DUB Logo" src="http://code.dlang.org/images/dub-header.png"/>
</div>
<div class="navbar-menu">
<div class="navbar-start">
<div id="navItem" class="navbar-item">Primo</div>
</div>
</div>
</div>
</nav>
<section class="section">
<div class="container dummy">
</div>
</section>
<div class="hero ">
<div class="container has-text-centered is-size-1">
<h1 class="title"> Explore and use libraries and software</h1>
</div>
</div>
<div id="search" class="container">
<div class="columns searchBlock ">
<div class="column is-paddingless">
<form>
<input class="input searchInput" type="text" placeholder="Search">
</form>
</div>
<div class='column is-3 is-paddingless'>
</div>
<div class='column is-2 is-paddingless'>
<a class='button is-primary searchButton'>Search</a>
</div>
</div>
</div>
<footer class="footer">
<div class="container is-text-centered">
<p> Footer </p>
</div>
</footer>
<script src="old.js"></script>
.hero-body is missing
<div class="hero">
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title"> Explore and use libraries and software </h1>
</div>
</div>
</div>
Bulma - Hero
I think problem with column . change column margin follow this
.columns {
marign:0;
}

Remove header logo CSS

Good evening, i have one question, how can i hide this logo enter image description here
in my website with a custom css?
this is my code, i think the class of my logo is sticky-logo, itried so much but i can't hide it. please help me.
<body class="page-template page-template-page-templates page-template-landing-page page-template-page-templateslanding-page-php page page-id-10270 logged-in siteorigin-panels" id="thim-body">
<div id="wrapper-container" class="wrapper-container">
<div class="content-pusher " style="padding-top: 149px;">
<header id="masthead" class="site-header affix-top sticky-header header_default header_v1">
<div id="toolbar" class="toolbar">
<div class="container">
<div class="row">
<div class="col-sm-12">
<aside id="text-2" class="widget widget_text">
<div class="textwidget">
<div class="thim-have-any-question"> Hai delle domande?
<div class="mobile"><i class="fa fa-phone"></i><span class="value">045 581062</span></div>
<div class="email"><i class="fa fa-envelope"></i>segreteria#corsiverona.it</div>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="navigation col-sm-12">
<div class="tm-table">
<div class="width-logo table-cell sm-logo">
<img src="https://www.corsiverona.it/wp-content/uploads/2016/05/Corsi-verona_logoArancio-Nero2.jpg" alt="CorsiVerona" width="300" height="59">
<a href="https://www.corsiverona.it/" title="CorsiVerona - Un nuovo sito professionale marcato Corsi Verona"
rel="home" class="sticky-logo"> <img src="https://www.corsiverona.it/wp-content/uploads/2016/05/Corsi-verona_logoArancio-Nero2.jpg" alt="CorsiVerona" width="300" height="59">
It looks like you can hide your logo like this:
.sm-logo {
display: none;
}
Try the snippet below:
.sm-logo {
display: none;
}
<body class="page-template page-template-page-templates page-template-landing-page page-template-page-templateslanding-page-php page page-id-10270 logged-in siteorigin-panels" id="thim-body">
<div id="wrapper-container" class="wrapper-container">
<div class="content-pusher " style="padding-top: 149px;">
<header id="masthead" class="site-header affix-top sticky-header header_default header_v1">
<div id="toolbar" class="toolbar">
<div class="container">
<div class="row">
<div class="col-sm-12">
<aside id="text-2" class="widget widget_text">
<div class="textwidget">
<div class="thim-have-any-question"> Hai delle domande?
<div class="mobile"><i class="fa fa-phone"></i><span class="value">045 581062</span></div>
<div class="email"><i class="fa fa-envelope"></i>segreteria#corsiverona.it</div>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="navigation col-sm-12">
<div class="tm-table">
<div class="width-logo table-cell sm-logo">
<img src="https://www.corsiverona.it/wp-content/uploads/2016/05/Corsi-verona_logoArancio-Nero2.jpg" alt="CorsiVerona" width="300" height="59">
<img src="https://www.corsiverona.it/wp-content/uploads/2016/05/Corsi-verona_logoArancio-Nero2.jpg" alt="CorsiVerona" width="300" height="59">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>

Bootstrap Image Between Column

What would be the best / correct method to replicate the following using bootstrap. There are four colum, each of which is 25% wide, and I would like to add an image inbetween. The columns remain 25% all the way from mobile to desktop.
Simple
<div class="row">
<div class="col-xs-3 pull-left">
<div class"col-xs-10">
<img src="envelop.png" class="img-responsive"/>
</div>
<div class"col-xs-2 text-center">
<img src="plus.png" class="img-responsive"/>
</div>
</div>
<div class="col-xs-3 pull-left">
<div class"col-xs-10">
<img src="envelop.png" class="img-responsive"/>
</div>
<div class"col-xs-2 text-center">
<img src="plus.png" class="img-responsive"/>
</div>
</div>
<div class="col-xs-3 pull-left">
<div class"col-xs-10">
<img src="envelop.png" class="img-responsive"/>
</div>
<div class"col-xs-2 text-center">
<img src="plus.png" class="img-responsive"/>
</div>
</div>
<div class="col-xs-3 pull-left">
<div class"col-xs-10">
<img src="envelop.png" class="img-responsive"/>
</div>
<div class"col-xs-2 text-center">
</div>
</div>
</div>
PS: You may use text or content for + sign ... its upto you !! I prefer text/content because it will render faster then image.
This seems to do the job, though it's a bit convoluted. The 15-column layout is tricky.
.row.shift-left {
margin-left: -20px;
}
<div class="container-fluid">
<div class="row">
<div class="col-xs-11 col-xs-offset-1">
<div class="row shift-left">
<div class="col-xs-3">
<div class="row">
<div class="col-xs-9">Words words words.</div>
<div class="col-xs-3">
<img src="http://placehold.it/300x800" class="img-responsive" />
</div>
</div>
</div>
...
Demo

Resources