Can I reduce some of this whitespace in the footer and right above the footer?
In the white area and/or purple areas.
You can see here: https://ibb.co/btY2B8
Website: https://www.InterestingAnswers.com
Can you guys put together a video tutorial on how to determine how to to determine what CSS to edit or refer me to one? This would answer 25% of my questions here.
Thanks
That worked for the whitespace in the white area above the footer. What about the extra spacing in the purple footer? Or can I put something in it so it looks less empty?
I just noticed there is now extra spacing in the footer when being viewed on a mobile. You can see it here:
Or just go to the page:
https://www.InterestingAnswers.com
thanks
Hi,
I could remove the margin set there – https://www.screencast.com/t/I8leqn1QrBbw
But you also have some invisible titles there
– https://www.screencast.com/t/fBXaEyxC
These seem to have the same color as the background so they are invisible. I believe they take the color set here
– https://www.screencast.com/t/3Sh9MCYS8WsM
I could include a color change in the code if you don’t want to change the footer background or that setting
– https://www.screencast.com/t/kV5lLFQx
Use the codes if you wish, enter them in the phones section if you want them to apply only on phones
– https://www.screencast.com/t/IspRbg9j
.td-footer-bottom-full .td-pb-row>div {
margin-bottom: 0;
}
.td-theme-wrap .td-footer-bottom-full .block-title > span {
color: #ffd100!important;
}
Thanks
That was it. Where are those words coming from? Can I hide the ABOUT US and FOLLOW US words? If not, there needs to be an extra space below my email address and the FOLLOW US words.
thanks.
Those sections are predefined in the post template you use, so the about us text will have a title and the social links will have a title. This is where they come from
– https://www.screencast.com/t/jk1sHT1k
If you want to remove them you could remove the color code and let them be invisible like they were in the first place
– https://www.screencast.com/t/OStwFIeGp
The result would be the somewhat the same as with a display:none.
I dont mind keeping but I now need to add an extra space between my email address and the FOLLOW US words. Can I do that?
thanks
So initially it looked like this – https://www.screencast.com/t/Z1qWK9ale
The code removed the margins completely – https://www.screencast.com/t/SSCLy36Rg
Maybe remove only the top margin – https://www.screencast.com/t/FdUlOXkIMYV4 and leave the space between the email and socials.
Remove the previous code and enter this one
.td-footer-bottom-full .td-pb-row>div.td-pb-span3 {
margin-bottom: 0;
}
I’m not sure if you mean to remove all of the code or just some of it.
This is what I now have commented out:
/* Remove extra whitespace around footer */
/*.td-main-content-wrap{ padding-bottom:0; }/*
/*Remove extra purple space in purple footer */
/*.td-footer-template-14 .td-footer-bottom-full{ padding-top: 0; }*/
And I entered this:
.td-footer-bottom-full .td-pb-row>div.td-pb-span3 {
margin-bottom: 0;
}
There isn’t carriage return between my email address and the FOLLOW US text on mobile.
What am I missing?
-
This reply was modified 8 years by
Ryansmccain.
Oh, you are referring to the mobile phone section. I commented out what you gave me and now the text is purple and not seen again.
Ok, these are the only 2 I have in the phones section and I can see the text but there is still not that carriage return (or space,or whatever) I’m looking for. I tried deleting the first and only having the bottom one and it didn’t work. I had the bottom 2 and the text turned to purple.
.td-footer-bottom-full .td-pb-row>div {
margin-bottom: 0;
}
.td-theme-wrap .td-footer-bottom-full .block-title > span {
color: #ffd100!important;
}
.td-footer-bottom-full .td-pb-row>div.td-pb-span3 {
margin-bottom: 0;
}
Remove the code that I provided for the margins initially (space), this one
.td-footer-bottom-full .td-pb-row>div {
margin-bottom: 0;
}
This code removed both these margins – https://www.screencast.com/t/SSCLy36Rg
Now the new one will remove only the margin below the logo, you said that you want some space between the email and social
– https://www.screencast.com/t/QFFXdC1KhUA
So the margin below the About us will remain – https://www.screencast.com/t/qcqEBG3uLX4
If none of this is what you want, remove all the codes provided in this topic and explain in more details how you want it to look. Make some screenshots so I can provide a more accurate solution.
The result should be like this using the intended codes only, the ones below
– https://www.screencast.com/t/bLh5xKR96BC
.td-footer-bottom-full .td-pb-row>div.td-pb-span3 {
margin-bottom: 0;
}
.td-theme-wrap .td-footer-bottom-full .block-title > span {
color: #ffd100!important;
}
Perfect. Can you suggest a good tutorial on CSS? 75% of my questions are CSS. I understand what you are doing somewhat when I see your code but how do I find the elements to edit?
thanks
Well this is weird. Now there is an extra line near the top. I don’t know if I did something, if it’s related to this, or whatever.
See :
or
https://www.InterestingAnswers.com
thanks again
You could check this guide for starters
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
The browser inspector tool is a powerful instrument, very helpful to analyze various website elements and also modify them if needed.
What extra line would that be exactly? I fail to see it, or anything wrong with that top part. I must be misunderstanding.
I understand now, you mean that padding. I was looking for an actual line, sorry for that.
That is a padding top set for the page
– https://www.screencast.com/t/rWRDNqKjF
By default that would be applying for the page, only with some CSS it can be removed
– https://www.screencast.com/t/BG5mhfPJ2Kb
.home .td-main-page-wrap {
padding-top: 0;
}
Ahh. I see what you did. Interesting.
That worked.
Thanks again.
Ya know what. I tried:
.home .td-main-page-wrap {
padding-top: 5;
}
…and it looks just like
.home .td-main-page-wrap {
padding-top: 10;
}
Can you not set the padding to 2,3,4, etc? Is it only 0 or 10?
thanks