Hi there, I’ve been working on a project that contains multiple sidebars throughout the Bible text, but there seems to be a rendering issue within the app when the sidebar is just above a section heading. The section heading is displayed “inside” of the sidebar which is not correct.
Some background:
We made custom markers by adding the letter ‘z’ in front of all the markers between the opening (\esb) and closing (\esbe) markers of the sidebars so we can style them in a different colour (blue) using the stylesheet, so it’s easier for the reader the follow the text. Also, the blue horizontal lines are the \esb and \esbe markers, just styled to be visible/dividers.
Here is a brief snippet of the code in my SFM source file which shows the \s1 “outside” of the sidebar:
\p
\v 22 Then God remembered \em Rachel\em*, and God listened to her and opened her womb.
\v 23 She conceived and bore a son and said, “God has taken away my reproach.”
\v 24 And she called his name Joseph,\f + \fr 30:24 \fq Joseph \ft means \fqa May he add\ft , and sounds like the Hebrew for \fqa taken away\f* saying, “May the \nd LORD\nd* add to me another son!”
\esb
\zms1 SIBLING RIVALRY
\zm Siblings are bound by blood and are supposed to be close, good friends and loving towards one another. However, sibling rivalry can come when love is missing in the home. Rachel and Leah were sisters married to the same husband. They became jealous of each other and competed. Are your siblings competing with you or are you jealous of them because of some achievements? Do not allow the devil to rob you of your blessings by making you feel envious of your sibling. When you are making progress, help your sibling to make progress too. When God is blessing you, bless others as well. Be there for one another in good times and bad. That’s what siblings are meant for. Are your children not on good terms? Pray for them. Counsel them. Prayerfully, sincerely and openly discuss the reason for the rivalry and resolve matters amicably. Trust God and make peace. \xt Matthew 5:9\xt* says, \it “Happy are those who work for peace; God will call them His children!”\it* Complement, do not compete.
\zb
\zm \it Lord, give me a heart to love my siblings, to seek their good and to rejoice with them when they are flourishing. Make me a blessing unto them too. Amen.\it*
\esbe
\s1 JACOB'S PROSPERITY
\p
\v 25 As soon as \em Rachel\em* had borne Joseph, Jacob said to Laban, “Send me away, that I may go to my own home and country.
\v 26 Give me my wives and my children for whom I have served you, that I may go, for you know the service that I have given you.”
We tried moving the sidebars in Paratext to another spot within the same chapter. Sometimes it works, but other times the sidebar is removed completely or it does the same thing in the new position.
Is there any way of preventing the section headings being pulled into the sidebar blocks within SAB? Either with regex/changes or CSS or another method?