Forum Replies Created

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

    (@jr361202)

    It was a damn plugin.

    Thread Starter jr361202

    (@jr361202)

    Also, if you move an item to number 1 why don’t you loop through all the other taxonomy items and bump their order up by 1. I mean, you’re not even checking for a taxonomy item possessing the same order when you update it? You can just rewrite every value using an incremented counter each time one is updated if you want to do it that way…

    Thread Starter jr361202

    (@jr361202)

    For the record I did try to google how do display the current template file and it was kind of a jumble. I tried throwing echo ‘<p>1</p>’ into various templates that I thought it might be to see what hit and tried some stuff like get_the_page_template() and things and the header file since that loads on every page. So thank you for that link – that is going to come in handy.

    Thanks for the reply, I appreciate it!

    Thread Starter jr361202

    (@jr361202)

    I think I explained pretty well what the problem ended up being in my last post… I already marked it as resolved before your last reply.

    Thread Starter jr361202

    (@jr361202)

    Yeah, I meant to post this in the Storefront forum… you can move it if you’re able.

    As I mentioned in an earlier reply to myself, I realized that my custom template for homepage wasn’t using the class site-main in the site content container… I soon realized that the styles for the columns to display correctly needed to be in that wrapper by examining the styles and that it had nothing to do with differences in the shortcode markup.

    But thanks for the reply, I appreciate it!

    Thread Starter jr361202

    (@jr361202)

    I needed to add “site-main” class to the container of my custom homepage template in case anyone has this problem when making a custom homepage.

    Thread Starter jr361202

    (@jr361202)

    for anyone reading this in the future the answer is using wp_reset_query() after closing the while loop.

    Thread Starter jr361202

    (@jr361202)

    for anyone reading this in the future the answer is using wp_reset_query() after closing the while loop.

    jr361202

    (@jr361202)

    No problem, I suggested that in a double post a while ago but you were probably busy trying to figure out why it wasn’t showing up, which I pointed out in the first of the two posts. It might seem simple in retrospect and CSS is pretty simple if you know it, but I know that at first it seems like a bunch of gibberish so don’t feel bad ??

    You have something weird going on – it’s not showing up on every page but the home page like you say. On some the first name / email form shows up, on some only the new button shows up and on some both show up. I can’t help you as to why but on https://thebrandedsolopreneur.com/design-services/ for instance it doesn’t appear at all on on the subpages of that it does and the name/email form doesn’t. So good luck with that!!

    jr361202

    (@jr361202)

    Sorry, I mixed up chrome and firefox in my reply. But I viewed in chrome and it wasn’t appearing. The only difference that would matter I think would be you being signed in on firefox that would cause it to show – cross-browser issues probably wouldn’t make something completely not appear so it must be showing only because you’re signed in (sign out in firefox and view it to confirm).

    If I understand you correctly and in your css you tried to fix using:

    .img a { border:0 }

    You have it reversed (the parent element – a in this case – goes first when using spaces like that) and also the “.” is targeting any element with class=”img” instead of an img tag.

    So you can use this:

    a img { border: 0 }

    That will make every img tag that’s inside of an a tag have no border.

    But try my original suggestion:

    .textwidget a img { border:0; }

    This targets any img tag that’s inside of an a tag that’s inside of an element with class=”textwidget” (the button you are targeting is inside of an element with class name “textwidget” so this is more specific).

    jr361202

    (@jr361202)

    I am using chrome too, but seems like it wouldn’t be browser-specific… probably has to do with you being signed in on chrome and not firefox?

    “.img a” actually means “any a tag that’s inside of an element with class name ‘img'”… so not what you’re looking for. “.” before a word means it’s a class name.

    “a img” would mean any image tag inside of an a tag, but that is pretty general and it’s usually best to be more specific so as not to mess with things you don’t intend to. But that probably would work for your purposes.

    jr361202

    (@jr361202)

    Well if that worked for you then it worked, looks like you didn’t need our advice. You should still have quotes around the url though.

    jr361202

    (@jr361202)

    Nope! I see it on that page but if you just visit the homepage URL it’s not there. I was looking around and did a random search and when I got to the search results page it was there… not sure why that’s happening, not a wordpress expert, better with css/html/php.

    jr361202

    (@jr361202)

    to help you in the future that css applies to any img tag that’s inside of an a tag that’s inside of an element with class “textwidget”.

    So if you have an element with no class or id inside of an element that does have a class or id you can put a space after the class/id css selector and use the tag name (a, img, p, div, whatever) to make any of those tags inside of that element adhere to your style demands.

    jr361202

    (@jr361202)

    odd, it doesn’t display on the pages but when I did a search it came up. try adding this to your stylesheet:

    .textwidget a img { border:0; }

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