Forum Replies Created
-
AuthorPosts
-
That’s weird…Quick CSS works!
I guess I can add all my mobile on custom.css just so I can see it more easily all together and then cut/paste into Quick CSS.
Not ideal, and I don’t know why things would be this way, but at least you’ve presented me with a workaround.
If the custom.css is in the right place in my child theme and properly coded, then it just must be that the WP gods are against me on this one.
Thank you for your help, Rikard!
Hi Jordan,
I am just trying to get the mobile CSS to work at all :-) Hiding the H1 is just a test, so for your and my purposes, yes I am trying to hide all H1 tags.
Admittedly, it gets a little wackier for testing because I need to refresh the Sucuri WebProxy cache to see the changes take effect, I believe.I have Sucuri looking into this as well, just in case it’s something on their end.
I have provided login info in the Private Content section. Please note that the admin area access link is changed for security purposes.
Thank you, Yigit. For me, it was “update the helper-main-menu.php file in my child theme” (I’m letting you know just in case someone else is fumbling around with this like me :-).
I would never have thought to update a child theme file…I thought the purpose of a child theme was to avoid that. So you 100% pointed me in the right direction, and I thank you very, very much!- This reply was modified 10 years, 4 months ago by keithcrest.
Thank you, Yigit! I feel confident in saying I would never have figured that out! Keith
(You can set this as “resolved.” I don’t see a place where I could do that for you…)
Hey, that does work! That is REALLY confusing, since there is a separate “custom.css” file that I thought was needed to target screen sizes (vs. the “styles.css” file). Some themes work that way…separate css files…and I thought that was how this worked, too. Anyway…thank you for the clarification :-)
Hi,
Reaching out again to try to get an answer to the “custom.css” question in my last post (why it isn’t working).
Sorry to nag, but not sure whether the question has been missed, and my client would like to get this site up and running ASAP. Hence the re-post here :-)
Thank you,
Keith
Thank you, Ismael. Your advice and a walk away from my computer got my header issues all straightened out.
I still can’t get the custom.css to work in my child theme, however. I can test “H1 {display: none;}” on the parent custom.css, and the headlines disappear on my smartphone. But in my child theme, whether I leave the custom.css file at the top level or in a folder labeled “CSS” (as is done on in the parent), it does not work and the H1 remains visible.
I am ready to launch this site, but I need to work on the mobile presentation before I can!
Thank you for your insights into this issue,
Keith
In header areas where social icons can be added, the addition of an “enter custom text or HTML instead” option on your Theme Options panel.
This would allow users who like any of the header layout options—but want content other than social icons—to avoid having to hack the header.php file in order to substitute images or custom text where your layouts call for social icons.
January 27, 2014 at 6:03 pm in reply to: Header with Social Icons and Bottom — Use Text Instead of Social Icons #215432That did it!
I can’t mess with the styling right this minute…but now the text is placed where I can work with it :-)
Thank you so much, Yigit, and I will make a feature request along these lines via the link you indicated.
All the best,
KeithJanuary 27, 2014 at 5:35 pm in reply to: Header with Social Icons and Bottom — Use Text Instead of Social Icons #215419Hmmm…no, that isn’t working.
I added it as you directed to header.php, and you can see that it is being inserted in the top logos area (in the gray strip above the main large logo). You can see it jammed above the “See Our Reviews” text.
I need it in the white area to the right of the “princeton gutters” logo!
Keith
January 27, 2014 at 5:21 pm in reply to: Header with Social Icons and Bottom — Use Text Instead of Social Icons #215407Thank you, Yigit. I see what you did there, but it doesn’t work for my needs.
I should have sent you a link for reference: http://pgutters.jonevan.com/
You will see that I added HTML to the “phone number” insert area already. It gives you the review icons at the very top of the page. So I cannot move the header.php telephone code as you suggested.
What I am trying to do involves the currently blank area to the right of the logo. By default, that area inserts the social icons. I am trying to, instead, put a large phone number in that area. I think I need to code that phone number (or any other original content I want to use instead of the by-default social icons) into the header.php file via my own div(s) which I can then control with CSS…but whatever I try causes a PHP error.
How do I accomplish this….adding my own div in the header.php that will show in the blank area to the right of the logo?
Because it currently needs to be hard-coded into the php file, that is why I also suggested that perhaps in an update to the theme, you could introduce an “if social icons” and “if original content” choice for that right area of the header within your back-end interface :-)
Keith
- This reply was modified 10 years, 10 months ago by keithcrest.
-
AuthorPosts