Footer help please - Issues with text alignment - footer

I'm having issues with my footer. It's the appropriate width and length but I can't get the text to move.
I've tried toggling with the numbers, using both negative and positive numbers with no luck. I'm using a theme created by another tumblr user, with permission to edit it to my liking, but she won't help me edit it, which is how I got here.
I'd like the text on the left side to be 20px from the left, and the text on the right to be 20px from the right. Both sets of text should be 15px from the top. (These are just guesses- once this problems solved, I'll probably toggle a bit more.)
Here's a link to the coding: http://pastebin.com/c0RdkC4W
Thank you in advance!!

OK, so you have some css being applied to the footer (I assume you are talking about the main site footer rather than the footer for each post.
You need to find the css for the #footer
And apply the following css:
#footer {
padding: 15px 20px 20px 20px;
height: 130px;
}
That is in addition to the properties already applied to that element. It's on line 231 of the full block of html you posted.
I am afraid setting the height on the footer is a hack, you would have to adjust this if you add or remove navigation items. A better solution is to use clearfix.
You also have some inline styles hard coded into the html, this is often frowned upon as it is easier to control the css using classes, id's and element selectors. But sometimes these inline styles get written to the template via the tumblr options.
See how you get on and give us a shout if you need more help.

Related

White space below footer on my bootstrap pages II

I read the suggestions here: White space below footer on my bootstrap pages
When I try this (position: absolute), it fixes the issue, but the lower parts of my website are no longer readable from small screens, because the footer is always overlapping parts of the website's body.
Is there a method to fix the footer as suggested, but still keep the complete body content readable from any screen size?
Depending on your page set up this simple fix may suffice...
footer {
margin-bottom: -20px;
}
N.B. I'm working with Bootstrap 4.

Scrolling issue on position fixed element on iOS

I am bulding a mobile project which has a number of modules having elements positioned as fixed. The issue which am facing is only on browsers running on iOS.
The exact issue is that whenever I tr to scroll over the body of the page having , say the bottom toolbar, as fixed, the whole fixed element moves respectively with the scroll, and once the scroll ends completely, then only it comes back to its assigned place.
I have given the body of the page a relative css rule.
Please help as this happens only on iOS.
.add-to-block {
background: #fff;
position: fixed;
bottom: 0px;
right: 0px;
display: block;
height: auto;
width: 100%;
*(inner content element) {
inner content element styling...
}
}
Please try this, source here
.add-to-block {
transform: translate3d(0,0,0);
.....
.....
}
There is not really an easy answer to this as it has been a known issue on ios for a while (supposedly fixed in ios8) but this gives you a few ways to fix it: https://remysharp.com/2012/05/24/issues-with-position-fixed-scrolling-on-ios it details all the issues with position fixed on ios devices and possible ways to fix it if you need to use it.
Add height: 100% and overflow: auto for fixed element.
Full example at https://codepen.io/astnt/pen/ExgOqeX
Safari allows you to scroll beyond the limits of the fixed div so that it can put in a nice bouncy effect. When you scroll past this point though, if there is a container that is scrollable, then subsequent touch events get handed off to this. Therefore scrolling does nothing for a bit until control gets handed back to the fixed div.
The fix is to give the container div the overflow-y: hidden style so that Safari does not hand off the touches, and we continue interacting with the fixed div.
None of the proposed solutions worked for me, although i had the fixed element inside the scrolling div (and moved it up), had no transform or other layer-creating properties on the parent elements (and created a layer on the fixed element) etc.
My solution was to just change the fixed element to be position: sticky;

jQuery Mobile column padding issue

Problem can be seen here.
As you can see in the fiddle, there's a bit of padding underneath the image in the left column. I'm really not sure how to get rid of this.
The column itself has padding:0 when I inspect the element in Chrome. The div has no padding in it and the image has no margins. Any ideas what this could be? I've attempted to manually set the margins/padding and I've made both the image and the column display:inline and block just to see what happens.
Ideally, the red background would only show up behind the text. I've tried to set the background only in the left column only to have the background stop at the bottom of the text. height:100% didn't fix that. I'm kind of expecting the bottom of the right column to look longer if I did that anyway.
At this point, I'm a little clueless as to where I can go from here, so would anyone have any ideas what this might be? and whether or not I could change it?
quick & dirty way to find a solution to your problem :)
try changing the css rule:
.ui-block-a { margin: 0 0 -5px 0 }

Printing sIFR in IE7

I'm using sIFR3 to render some text on a website. That site has print feature that will replace the page frame and leave only the text. An appropriate sIFR-alternate style for printing is set as well.
The problem I'm running into is that sIFR puts a CSS min-height as an inline style on the H2 that is replaced. And due to this setting, that seems to be calculated from the font-size given for that element, IE7 cuts off letters like gpq - letters that go below the baseline of the text.
I have tried and googled for a solution but couldn't find anything relating to this issue. Or how I could stop sIFR from setting the min-height value altogether.
You can test with any sIFR Text that falls back to Arial, for example, with a given height on the element it is located in (even non-pixel values).
Thanks and cheers
I had a look at a few projects i implemented with sIFR and i could not reproduce the error you described.
A few suggestions that maybe help:
You could try to work with padding
and margin instead of giving a
height value if that's possible.
Try to define line-height for the sIFR containing element. In both screen and print stylesheets.
Overwrite the min-height value inside the print stylesheet: selector{min-height:value !important;}
Are you sure that it is because of the min-height-style that the descender is cutted? Did you try to remove the style using e.g. Firebug?

HELP! sIFR Text Wrapping

http://doc.bigheadservices.com/my-page.php
In the navigation bar, under the logo, the FAQ block is wrapping, cutting off the Q. How do I fix this?
In this particular case, I fixed it by adding 1px padding around the element. The text was a link within an list-item. The sIFR was applied to the <li>. Adding 1px padding to the <a> fixed it.
Not sure if it is the proper way, but it works and I've got tons more work to do.

Resources