j09
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Make Home Page a Landing Page – remove nav bar and menusSure,
Just delete the things you added ealier and add this instead. This will make both the menu and the header disappear from the front page.
see if this works
.page-id-4 .nav-aligned-right, .page-id-4 .nav-above-header, .page-id-4 .main-navigation, .page-id-4 .nav-below-header, .page-id-4 header { display: none; }Again, delete the old stuff and add the code above instead.
After you do that, clear your cache one more time and visit the website to see if it works.
- This reply was modified 9 years, 5 months ago by j09.
Forum: Fixing WordPress
In reply to: Create hidden wordpress site, keep existing HTML website activeit’s very common to install WordPress on a subdomain.
Example:
You create a subdomain and call it:
devYou install WordPress to
dev.example.comYou work on it.
Meanwhile, anyone who visits
example.comwill continue to see your current HTML website.After you’re finished developing the wordpress website, you can move it from
dev.example.comtoexample.com- This reply was modified 9 years, 5 months ago by j09.
Forum: Themes and Templates
In reply to: Make Home Page a Landing Page – remove nav bar and menusI just visited your website and it seems to be working.
You may need to clear the browser cache on your computer:
Windows: ctrl + F5
Mac/Apple: Apple + R or command + R
Linux: F5See if that works for you.
- This reply was modified 9 years, 5 months ago by j09.
Forum: Themes and Templates
In reply to: Make Home Page a Landing Page – remove nav bar and menusIn CSS,
anything that is inside brackets like these will be ignored
/* blah blah blah */
So, if you pasted the code above inside the comment bracket, it won’t work because it’s marked as a comment and will be ignored.
in other words
/* .page-id-4 .nav-aligned-right, .page-id-4 .nav-above-header, .page-id-4 .main-navigation, .page-id-4 .nav-below-header { display: none; } */The above code will not do anything.
Whereas, the code below should make the menu disappear on your homepage
.page-id-4 .nav-aligned-right, .page-id-4 .nav-above-header, .page-id-4 .main-navigation, .page-id-4 .nav-below-header { display: none; }Please note that the difference between the two of them is the lack of comment brackets ( /* */
- This reply was modified 9 years, 5 months ago by j09.
Forum: Themes and Templates
In reply to: Can’t get rid of whitespaceI don’t see the
.read-moreclass that the button is using in your CSSTry and see if this works
.read-more { margin: 0 auto; }Forum: Themes and Templates
In reply to: Make Home Page a Landing Page – remove nav bar and menusyou can use this and see if it works:
.page-id-4 .nav-aligned-right, .page-id-4 .nav-above-header, .page-id-4 .main-navigation, .page-id-4 .nav-below-header { display: none; }Forum: Fixing WordPress
In reply to: Images Not OptimizingNo problem, and good luck with google!
Forum: Fixing WordPress
In reply to: Images Not OptimizingYou’re welcome.
Are you saying that the image file size that Google sees is 900px * 900px but my WP theme is squeezing the actual visible size to something smaller?
Correct, that is what is happening and I could not have said it any better. The image file that gets download by browsers is 900 * 900.
How did you see what those visible dimension sizes actually are?
Using google chrome, you can right click on any element and then select “inspect”
This will open up a nice tool that I recommend you start using as it make life easy when you troubleshoot an issue on a page.
You can read more about that Here
I’m surprised that the desktop version would be smaller than the tablet version. How can that be?
On the desktop view, you have three photos sharing one line – The images are next to each other and so they share the width of the screen.
Each individual image size is still the same at 900*900 but it gets modified by CSS.
On tablets / phones your theme is set up to only show one image/item per line which leads to the images being bigger.
They are not really bigger. They are just “less small” if that makes any sense.
I know how to squeeze the sizes down in Photoshop, but how do I know what google wants? What is considered “Optimal”? I want big, visible, images on my site, that are crisply visible. How do I get that without sacrificing page speed – or is that a pipe dream?
There is no ideal size and google is not telling you not to use big photos.
Google is simply saying.
There is some performance gain to be had if you reduce the size of these photos because you don’t seem to be using them.
If your page actually displayed 900*900 images, you wouldn’t be seeing those warnings in PageSpeed
Forum: Fixing WordPress
In reply to: Images Not OptimizingI haven’t checked all images but they seem to be optimized.
What google is referring to is the dimensions.
Here’s an example (The numbers are arbitrary)
Some of the photo file are
900px * 900pxbut the are only used as250px * 250pxin the desktop version and as750px * 750pxin tablets.Google doesn’t want you to put big image dimensions if you don’t intend to display them.
Fix?
Reduce image dimensions as needed.
- This reply was modified 9 years, 5 months ago by j09.
That’s very good news!
you’re welcome 🙂
No problem,
Hope you figure it out!
Hello again
no worries, I just put it there for reference and was not waiting for a reply.
I won’t bother you with the details unless you want me to, But there is not much you can do about the inline style unless you modify the plugin files (I think)
it’s a fairly simple fix to apply in theory
<div class="um-row _um_row_1 " style="padding: 0px 0px 0px 0px;background-color: #ffffff;margin: 0px 0px 30px 0px;border-width: 0px 0px 0px 0px;border-style: solid;border-radius: 0px;">needs to be changed to
<div class="um-row _um_row_1 " style="padding: 0px 0px 0px 0px;background-color: rgba(0,0,0,0);margin: 0px 0px 30px 0px;border-width: 0px 0px 0px 0px;border-style: solid;border-radius: 0px;">However, without knowing how the plugin is structured, which I don’t, I can’t help.
Forum: Fixing WordPress
In reply to: Trying to remove header, footer and widgets from a page using CSSMake backups and hen
see if
.page-id-1528 .site-header, .page-id-1528 .footer-widgets, .page-id-1528 .site-footer { display: none; }works and gives you the effect you want.
Forum: Fixing WordPress
In reply to: Trying to remove header, footer and widgets from a page using CSS.page-id-1528 header { display: none !important; } .page-id-1528 footer { display: none !important; } .page-id-1528 #footer-widgets { display: none !important; }There is a missing at the end of your post above, is it like that in CSS too?
Also, a page link might make it easier.
