Forum Replies Created
-
AuthorPosts
-
Perfect, thanks so much.
Great, thanks.
Thanks Jordan. I like this idea but how would I alter it for blog posts as the instructions are for subtitles on pages.
Yes you can close the thread. Thanks again.
Great, thanks so much for all your help!
Thanks Ismael, that worked well.
One final question. What would be the best way to reduce the white space between the share box and the gray sponsored by box.
Using a negative margin seems to work:
#sponsor-class { margin-top: -10px !important; }
However I wasn’t sure if using a negative margin is the best way to reduce the white space.
When I use width 100% the box does not extend the full length on the right side in Firefox.
However I just discovered that in some older version of Microsoft edge, the box doesn’t display at all because of the “overflow: auto” code.
So maybe there is another way of doing this. I erased all my extra code and took it back to when I had my original problem.
Please check my website again and look at the first 4 posts. You will notice that the grey “sponsored by” box fits perfectly at the bottom and side to side in all browsers. However the box extends too high and goes into the social share box in all browsers. I really don’t understand why the box is extending so high. What I am trying to do is bring the box down so it is below the social share icons.
What is the best way to accomplish this? I tried using both the “overflow: auto” and the “display: flow-root” code and while either one will fix the issue in Chrome, it causes the entire box and sponsored by text to disappear in both Firefox and older versions of Microsoft Edge.
Hi Victoria,
Unfortunately that still did not work correctly as the smaller sized screen widths still displayed a gap between the box and border.
I did some trial and error and came up with this:
.avia-mozilla #sponsor-class { display: block; width: -moz-available; }
That seems to work good although I have never used the code -moz-available. Is that okay to use?
As well, from what I understand the -moz-available code is only for Firefox so do I still need to keep it under the .avia-mozilla class selector or can I put it with the rest of the CSS in the ID selector #sponsor-class section? For instance:
#sponsor-class { text-align: center; font-weight: 300; background-color: #7a7874; margin: 0px -18px -10px -18px; border-radius: 0 0 10px 10px; overflow: auto; width: -moz-available; }
- This reply was modified 4 years, 3 months ago by lsrmedia.
Thanks Victoria. That works for screen widths larger than 663px. However, at widths of 663px or less, the grey box separates from the grey border. Is there a way to fix that?
The problem is the overflow: auto line. That seems to cause the sponsored by box to disappear in firefox. But I need to use that because the height of the div id is too high and the top of the grey box extends far above the actual sponsored by line. Is there any way of making the div id height less? I tried using span instead and while that did reduce the height of the box, it also limited the width to only the size of the text.
Thanks, that worked well. Thanks again for your help.
I increased the percentage to 100% but the logo, while somewhat bigger, still goes small when the screen width is between 768px and 989px.
When the screen width is below 768px the logo is large, then between 768px and 989px the logo goes small. On screen widths above 989px, the logo is large again.
There must be some way of making the logo larger on screen widths between 768px and 989px?
Thanks for the quick reply. I added the following code:
@media only screen and (max-width: 889px) {
.logo img {
padding: 10px 0px 0px 0px;
}
}@media only screen and (min-width: 990px) {
.logo img {
padding: 30px 30px 5px 5px;
}
}@media only screen and (max-width: 989px) {
.responsive .logo img {
max-width: 70%;
max-height: 70%;
}
}The logo looks good at all sizes now except between 768 px and 989 px. Between that screen width the logo goes very small. Why is the logo going so small and how can it be fixed?
Thanks, I will try that.
Thanks @guenni007, your help is always welcomed and much appreciated!
@Rikard, yes I followed the directions and it worked perfectly. My site does not have a sidebar so it takes the featured image for the blog post from the entry_without_sidebar as @guenni007 suggested. I verified this by making the height only 100px for the entry_without_sidebar and sure enough, all new blog featured images are only 100px high.However, this does lead to a few questions:
1) I have been reading about Retina Displays and how their pixel density is double. So if the maximum size that your image can be displayed on your website is 800px wide, you should actually make sure the image is 1600px wide so that it will look good on Retina Displays. The article said you should have your original upload image 1600px wide and then set the wordpress generated large image to 800px wide. Then when your website is displayed, it will pull whatever sized image best fits the space and resolution for the screen size that is being used to view the blog post? They also suggested setting the wordpress generated medium image to 400px wide and this image will be used for mobile phones. But it would appear that the Enfold Theme uses the entry_without_sidebar image regardless of screen size or resolution? Is this assumption correct?
2) If the above assumption is true, then the easy fix is to make the entry_without_sidebar image double the size to ensure it looks good on Retina Screens or Regular Screens. But that seems like a waste of resources since that double sized image will also be used even when viewing the website on a small mobile phone, thereby unnecessarily increasing load time. Is my thinking correct?
So is there a solution to this? Or should I not worry about Retina Displays and just size the image for regular displays.
Okay thanks. I will just use the default layout as I think the most important aspect of a navigation menu is that it works for everyone.
Thanks again.
Worked Perfectly Thanks so much!
Worked great! Thanks so much.
I have provided the link to my website. When you go to the website, you will see each blog post has the category in a small black box listed beside the date and time. It will say “in personal” or “in news” or whatever the category is. I would like to remove the word “in” so it just says “personal” or “news”. Thanks
Sorry one more question. When a blog is displayed, under the title is the date, time and category. The category is displayed as “in category”, such as “in news” or “in personal”. I would like to remove the word “in” from displaying so it will just display as “news” or “personal”.
How would I do this. I would assume I would just edit the appropriate PHP file as I did above but after searching for an hour for the correct PHP file, I could not find it. Thanks
Perfect! I was able to make the required changed. Thanks for your help!
Great, thanks so much. I did that and then used the display: none code for all pages that I didn’t want the title to appear. Hopefully that was correct as it appears to have worked.
Worked perfectly! Thanks so much.
February 18, 2020 at 6:11 pm in reply to: Reduce white space after last line of text in blog post #1185759Perfect, Thanks.
Sorry about the confusion. The code worked perfectly!
Thanks
My website is still being developed and can be accessed at http://69.195.124.120/~localsp4/niagaraicedogs
Just for clarification, I am hoping to have both the title and breadcrumb turned off for all pages except the forum pages. On the forum pages, I would like for only the breadcrumb to be visible if that is possible.
Thanks
That code does not seem to work. If I turn on the breadcrumb in the header layout options, the breadcrumb appears on all pages. If I turn off the breadcrumb in the header layout options, the breadcrumb is not visible on any pages. The code you gave me seems to have no effect in either instance.
Logo looks great now. Thanks!
Perfect! Thanks so much.
- This reply was modified 10 years, 6 months ago by lsrmedia.
Sorry, I guess I didn’t explain that too well.
My website is http://69.195.124.120/~localsp4/niagaraicedogs/. If you look at the right hand column, at the bottom is a Big Marco’s ad. The ad is being displayed at 219px x 219px but the image I uploaded is 250px x 250px. So is there any way of allowing the right hand column to display images or widgets that are 250px wide. As you can see, the column is wide enough but there is lots of white space on either side of the column.
Thanks
Please disregard as I was able to get the forum working properly on a fresh install.
-
AuthorPosts