1. vincebodie
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 23 March 2021
  5.  Subscribe via email
If you look at this page you will see the intros to three articles in blog format: https://theoriginfund.org/learn

The menu item is set up to show 3 articles in a single column standard blog layout (not the alternative or masonry blog layout, though the problem still exists if either of those is chosen.) Look closely at the page and you will see that the first article "What is Endometriosis?" layout has some padding and a thin gray border between it and the next article.

The issue is that the page is rendering the first article intro correctly but not the remaining ones. The next article has no padding or border below it. The last article has a double dose of padding and two borders.

Looking at the code the first article is contained in a div with the class 'row-0', the second in 'row-1', and the third in 'row-2'. The problem is that the 'row-2' div is nested inside 'row-1', when in fact all of these divs should be separated out in the code. See my attached screen shots to see what I am saying.

How do I fix this?

screen-grab- 2021-03-23 at 9.48.11 AM.png

screen-grab- 2021-03-23 at 9.49.05 AM.png

screen-grab- 2021-03-23 at 9.49.15 AM.png
Attachments (3)
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To amend try replacing the following in your templates custom.css (https://theoriginfund.org/templates/j51_bianca/css/custom.css) ....

.blog .items-row {
margin-bottom: 50px;
border-bottom: thin solid #dddbdb;
padding-bottom: 15px;
}


With the following....

.blog .item {
margin-bottom: 50px;
border-bottom: thin solid #dddbdb;
padding-bottom: 15px;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!