Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter gkcpa

    (@gkcpa)

    Hi Sumanm,

    As I said in my original post, I tried inserting the background image in customizer. It worked, but only if I selected a WP theme. I want to have displayed my custom website in WP, so I need to have the BG image appear with the website. I’m still looking for a way to do that. I created a previous version of my website in WP, but it didn’t feature a BG image, only a BG color. I still don’t know if what I want to do can be done. I may have to settle for having a BG color only. But thanks for your suggestion anyway. It was helpful.

    GKCPA

    Thread Starter gkcpa

    (@gkcpa)

    Angelch, here are my updated body and BG image sections, per your suggestion –

    #body {
    margin-left: 0px;
    margin-top: 0px;
    }

    red_rock_image {
    background-image: url(“https://garykrupacpa.com/wordpress/wp-content/uploads/2018/09/the-colors-of-cathedral-rock-by-brian-klimowski-twilight-scene.jpg”);
    background-repeat: no-repeat;
    background-size: cover;
    }

    Although no error was reported by WP, this didn’t insert the background image. I then tried adding <div ID=”red_rock_image”> followed by </div> (at the bottom of the file)in header.php. That didn’t help either.

    I wish I could say it worked, but even though it didn’t, thank you! If you think of anything else that may work, please let me know.

    GKCPA

    Thread Starter gkcpa

    (@gkcpa)

    Thanks, Paul. I tried both functions you sent. At first neither one worked: I received error messages and couldn’t edit the files in WordPress admin. I was probably too tired last night to get it right. Eventually I got the second one to work the way you wrote it. What it did was to replace the reply button with “Your thoughts?” I want that button to say “Reply” and for the comments box title to change to a blank title if I want to reply to a reader comment, and for the comments box title to become “Your thoughts” if a reader will be writing a comment. At present either the comment box title will be either blank or “Your thoughts” no matter who is writing the comment. I think an “if-then” statement would be in order here, but I don’t know enough about WordPress or php to write it. Perhaps we can work on it together, if you have some extra time. I’m sure it would be helpful to someone else besides me.

    Thread Starter gkcpa

    (@gkcpa)

    Here you go, Paul:

    <?php comment_reply_link( $args = array(
    ‘title-reply’=>’Your thoughts?’ ); ?>

    If this doesn’t work I’ll use the native functions and plugin, as we both stated.

    Thread Starter gkcpa

    (@gkcpa)

    Again thanks, Paul. I’m using a child theme. The option I found on the codex page is comment_form_title, for replying to a comment. When I inserted the recommended code on that page (near page-top) in my comments.php file, nothing happened. The best I can do for displaying the appropriate title is to use the plugin I mentioned above. It won’t do just what I want, but at least it lets me enter a different title with every post. The safest way is to have no comment title, for comments and my replies, but of course then I lose the benefit of having a title for comments.

    Thread Starter gkcpa

    (@gkcpa)

    Topic resolved.

    Thread Starter gkcpa

    (@gkcpa)

    Thanks again, and very much Scott! Your solution worked perfectly this time. It’s astonishing how much control you can have over the way your web page looks. In a similar way, or perhaps more so, a painter or photographer has such control over their work. In the case of the Breadcrumbs descriptor, I settled on 270px for margin-top. I had no idea at first that there’d be no increase in spacing with a setting below 245.

    Thanks too for cluing me in to using Inspect Element for editing styles and other code on the fly. I could see how useful it is when I worked on changing the Navbar setting margin-bottom to place the contact button a little closer to the Navbar.

    Thread Starter gkcpa

    (@gkcpa)

    I tried it and I saw how well it works for customizing comment field labels. Thanks for the suggestion, Paul. However, I haven’t been able to get it to display a blank label for the comments form when I click on the reply button, unless the form title is always blank. Now I have three ways of customizing the titles: 1) via comments.php, 2) via functions.php and 3) via the Custom Comment Form Title plugin. I tried a couple of different combinations but haven’t found the right one yet. It looks as though these are static solutions; I’m looking for a dynamic one.

    Thread Starter gkcpa

    (@gkcpa)

    Thank you for your advice! I deleted cookies and other data for the past week in Chrome and the info remaining in the fields vanished. You’ve given me some peace of mind about this.

    Thread Starter gkcpa

    (@gkcpa)

    Bdbrown, Thanks very much for the references! I read the third one from css3.info, changed the relevant border-radius entries in style.css from 2px to 15px, and voila! Almost instant rounded corners! You’ll see the updated appearance if you visit my blog page – see my page’s URL above.

    Steve, Thank you for filling me in on that about custom.css. I didn’t know it would be necessary to purchase the plugin only if I’m hosting on WordPress.com since I read about examples of changes you can make to custom.css, which I thought would only be available by using www.ads-software.com, which is what I’m using.

    Gary

    Thread Starter gkcpa

    (@gkcpa)

    Thank you, Scott. I tried your suggestion and it worked. Adding the margin-bottom setting also increased the space between the Navbar and the Contact button on the top right, so that they appear the same distance below the Navbar. I hoped to be able to space them independently of each other, consistent with my site’s other pages. Look at my site at https://garykrupacpa.com and you’ll see what I mean. I tried changing the contact button’s style settings a few times since adding the bottom margin to Navbar without success. It’s fine the way it is, since it doesn’t need to be perfect. However, if you know of a way to modify them independently, I’ll be glad to hear about it, and will be sure to try it. If you don’t know of another way, I’ll wait a couple of days and then mark the topic as resolved.

    Thread Starter gkcpa

    (@gkcpa)

    Hi cedcommerce,

    Yes it did; in fact, it worked beautifully. Thank you!

    It also taught me about when to use !important, which was important for me to learn.

    Nisha, that’s right. More specifically, I wanted to change the font size of the post titles.

    Cedcommerce, by any chance, do you know how to increase the amount of space between the Navbar and the Breadcrumbs line just below it? Nisha, do you know how to do it? I tried different ways to do this and was unsuccessful. I thought if I modify the header code in section 11.1 of style.css it would work, but it didn’t.

    Thread Starter gkcpa

    (@gkcpa)

    Thank you very much, Steve! It worked.

    Thank you, too, Kobashi for pointing out to me my HTML coding error.

    This certainly wasn’t obvious to me.

    Thread Starter gkcpa

    (@gkcpa)

    I commented out the body and html tags, but it made no difference; the black border still appears. Is there some other explanation for the border that you can determine?

    Thread Starter gkcpa

    (@gkcpa)

    Thank you! The solution you suggested worked brilliantly! I couldn’t get this to work using either <img src=”<?php echo get_template_directory_uri(); ?> or <href=”<?php echo get_template_directory_uri(); ?> (although it worked for the stylesheet linking earlier in the header.php file), but did when I used my original coding <img src=”/wordpress/wp-content/themes/mywebsite/Header-Home.jpg”. Apparently that link substitutes for
    https://garykrupacpa.com/wordpress/uncategorized/images/Header-Home.jpg when someone clicks on a link with their mouse button.

    I plan to use absolute references for my Navbar links. I tried it for one of the links and it worked. You showed me the way there too.

Viewing 15 replies - 1 through 15 (of 15 total)