Forum Replies Created

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

    (@greenbaron6)

    It works! It’s amazing how adding “.home” fixed the issue. Thanks a lot.

    Thread Starter greenbaron6

    (@greenbaron6)

    I’ve already reviewed it (very positively) when you helped me with an earlier question. Regardless, thanks for asking.

    Thread Starter greenbaron6

    (@greenbaron6)

    Hi Fotis,

    I apologize for the very belated response. Things got pretty busy. Anyway the code did work after all. For some inexplicable reason, there was a lag between inputting the code and seeing the changes take effect on my website. (Thankfully, the lag has diminished.) Because I was swamped with work, I didn’t get a chance to double-check until more recently. Also, the original code in my child’s functions.php was correct.

    As always, thanks for your assistance. When I have time, I’ll look into FTP and cPanel file manager. And I’m sure I’ll be hassling you for more guidance.

    Thanks again.

    Green Baron

    p.s. In case this might be of use for other folks, I’m including the code that I currently have.

    To change the font size in my olsen-light-child’s stylesheet (style.css) to 14px:

    body {
        font-size: 14px;
    }
    
    .comment-content {
        font-size: 14px;
    } 

    And my child’s function.php has the following code:

    <?php
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    function my_theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }
    ?>
    • This reply was modified 7 years, 11 months ago by greenbaron6.
    Thread Starter greenbaron6

    (@greenbaron6)

    Steve, thanks for your advice. I apologize for the very belated reply. I’ve been swamped so I kept forgetting to come back and respond to your message. Anyway I ended up writing in Word (for convenience sake), then copying to the text editor for HTML formatting (italics, dashes, etc.) before pasting it into my post. I assume using FTP will be a better method rather than the 3-step process I using at the moment. Or supposedly I can upload a HTML file to WordPress. When I finally have time (and catch up on sleep), I’ll look into FTP as well as HTML file uploads. As I mentioned in my original query, this is all new to me so I stumbling around and slowly learning what’s what. Thanks again.

    greenbaron6

    (@greenbaron6)

    I’m new to Thirsty Affiliates and I wanted to know if there was a way to confirm if a link was uncloaked. I made sure to select uncloak but I have no idea how you can tell if the uncloaking worked. Is there a way besides clicking on the link (though I’m not sure I could tell if the link was cloaked or uncloaked as I’m really new to all this).

    Thanks!

    Thread Starter greenbaron6

    (@greenbaron6)

    I perused the FTP instructions, and I’m already confused — for one thing, I don’t know how to log into my server via FileZilla. Also, in order to set up the child theme via FileZilla, it seems that I’ll have to delete the child theme files that I already created in my cPanel. Am I misunderstanding this?

    I’m going to have to get back to you in a week or so. I don’t know how to use FileZilla, although it’s on my next month’s to-do list. I used it (once) to manually download and set up WordPress, but someone from my hosting company walked me through the steps, so I don’t remember or know what I did, and I have no clue where my WordPress files are located (in my local site?). Right now I don’t have time to learn how to use FileZilla because it’ll likely take me hours to find the tutorials and figure out what to do. Seriously, it took me over an hour to do the 5-minute manual WordPress set up, and I had to get help.

    I guess for the time being I’ll revert back to the defective child’s functions.php that I originally had and use Additional CSS to customize. I’ll try to find time to look into FileZilla this week.

    Thread Starter greenbaron6

    (@greenbaron6)

    Also, sorry about not posting a link to my website. It’s under construction, so it’s not public yet.

    Thread Starter greenbaron6

    (@greenbaron6)

    Oops, I forgot to close this thread by marking it resolved, which I’ll do now.

    Thread Starter greenbaron6

    (@greenbaron6)

    Per your request, I (gladly) gave Olsen Light a review. Thanks again, Fotis.

    Thread Starter greenbaron6

    (@greenbaron6)

    Fortis, once again, thank you so much for all your help.

    Just to give you a heads up, you may hear from me again (and again). I may turn to you (or this Olsen forum) for help or have you take a quick look at whatever code I manage to cobble together from various sites. But I’ll try my best to search these forums and elsewhere for solutions and answers to my other problems before I do that.

    Thanks again.

    Thread Starter greenbaron6

    (@greenbaron6)

    Oops, the “ul” and “li” tags with their angle brackets didn’t appear in my last sentence. It should be (now minus the brackets):

    Anyway I made “style” changes to “ul” and “li”.

    Thread Starter greenbaron6

    (@greenbaron6)

    Thanks, Fotis. I did as you advised, however, the articles were displayed with bullets. I googled and found some information on Stack Overflow and a couple other places to (1) remove the bullets and (2) to add some space between the individual list items (articles).

    Could you take a look at the code below and confirm that it looks okay? I want to make sure it’s “structurally” sound. From what I can tell, Bootstrap allows for both HTML and CSS to be combined together (in one place) instead of being in separate files. Anyway I made “style” changes to

      and

    • .
      <div class="row">
      	
      	<div class="col-sm-6">
      		<ul style="list-style: none; margin: 0; padding: 0">
      			<li style="margin: 0.25em 0">
      				<a href="https://www.nytimes.com/2018/03/10/opinion/sunday/obama-trump-voters-democrats.html?action=click&pgtype=Homepage&clickSource=story-heading&module=opinion-c-col-left-region&region=opinion-c-col-left-region&WT.nav=opinion-c-col-left-region" target="_blank"><strong>The Missing Obama Millions</strong> | The New York Times</a>
      			</li>
      		</ul>
      	</div>
      
      </div>

      Thanks.

    Thread Starter greenbaron6

    (@greenbaron6)

    One last quick but off-topic question. So, I’m using the “Custom HTML” widget in my “news sidebar” to list and hyperlinked the articles that I’ve collected from various news sources. Would you recommend that I use the <article> tag? For example:

    <div class="col-sm-6">
    	<article><a href="https://www.nytimes.com/2018/03/10/opinion/sunday/obama-trump-voters-democrats.html?action=click&pgtype=Homepage&clickSource=story-heading&module=opinion-c-col-left-region&region=opinion-c-col-left-region&WT.nav=opinion-c-col-left-region" target="_blank"><strong>The Missing Obama Millions</strong> | The New York Times</a></article>
    </div>

    I noticed that some sites that also hyperlink news items (from other websites) don’t bother including the <article> tag. I assume it’s one of those “best practice” things that isn’t always necessary but it’s recommended. Honestly, as a newbie, I would prefer to practice what’s considered good coding. Anyway I was wondering what your thoughts might be. Simple yes or no would suffice. Thanks.

    Thread Starter greenbaron6

    (@greenbaron6)

    Fotis, sorry for not responding sooner. Things got busy, so I didn’t have time to check out your (Bootstrap grid?) code. However it seems to be working perfectly, although I’m still partly paranoid that something will go wrong. Regardless, I want to thank you profusely for this very simple, yet elegant, code. I really was expecting something complicated or just very long.

    In regard to using a visibility plugin, I don’t think I’ll be using it. The “news sidebar” doesn’t appear on individual posts’ pages. On the other hand, when I click on a category or tag, it does appear on that category/tag’s page, but at the moment I’m okay with it. I’m just relieved to have that news sidebar. However, if I ever change my mind, I’ll check out the Jetpack plugin.

    Thanks again. You are amazing!

    Thread Starter greenbaron6

    (@greenbaron6)

    Please disregard my last message. The news sidebar eventually did appear. I guess there was a lag. Now I need to fiddle around with it, because I want to have 2-3 columns within the sidebar.

    I’m not sure if using the “Custom HTML” widget is the way to go, although it seems to provide more flexibility than the “text” widget. I know the basics of HTML, so I should be able to figure out how to manually create columns and hyperlinks. Or maybe I’ll try the “RSS feed” widget, although I’m not sure how easy it is to selectively choose items to include and to organize articles according to topic rather than news source.

    Should I close this question topic since you helped me with my initial question (and open a new topic question with any subsequent queries about the sidebar)? Or should I keep it open in case I do have more questions such as adding columns to the sidebar? Please let me know which is preferable.

    Thanks so much for your help. I have lost days trying to figure this out and likely didn’t need to download the Elementor plugin after all. Oh well, you live and learn.

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