• The first line of text under the third featured image on the front page will not center align. The other two featured texts items are fine, and I’m doing nothing different on the formatting of the third featured page. Please help. Is there a bug in my code? Here’s the link.

    https://goodpetstuff.com/newsite/

    I’m specifically referring to the sentence that reads…
    “No one will know if your cat doesn’t tell!”

    Under the hidden litter zoom picture.

Viewing 11 replies - 1 through 11 (of 11 total)
  • There are non breaking spaces in that paragraph.
    https://en.wikipedia.org/wiki/Non-breaking_space

    Always prepare your text content in Notepad ( or other plain text editors ), don’t use MS Words.

    “Travelin’ Dog Ultimate Seatbelt Harness” is too long, it should be just “Dog Seatbelt.”

    “Travelin’ Dog Pet Seat” should be just “Dog seat.”

    Those titles are just keywords for SEO and to grap attention on the first browse, the details go in the paragraph, not title.

    What happens if—instead of letting Customizr pick it up from the page itself—you paste it into the “Front page” options of Customiz’it! ?

    Just in case it solves the problem…

    Thread Starter cproctor

    (@cproctor)

    Thanks, but the titles aren’t the problem and those are driven by the page names, not the paragraph.

    I simply posted in the Pages area. That’s it. I’ve never used Notepad for that or MS Word.

    PS – the company owner wants “Travelin’ Dog Ultimate Seatbelt Harness” so our opinions on that don’t really matter. It’s his product/his page.

    Again, I only need help with the first line in the page not centering under the featured image on the home page. Why does the text under the other 2 featured images center align and not the text under the 3rd featured image?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    A suggestion was that you the text was copied from Microsoft Word and therefore has inherited some pre-formatted styling. Have you explored this?

    Thread Starter cproctor

    (@cproctor)

    Yes, thank you, I understand the point but I didn’t copy/paste. Just typed it in as I did the other two featured pages.

    Thread Starter cproctor

    (@cproctor)

    This is what is typed on the page. Hope this helps. Maybe you can see the problem that I’m missing.
    ————–
    No one will know if your cat doesn’t tell!

    <a href="https://goodpetstuff.com/newsite/wp-content/uploads/2013/07/DSC_7336-big1.jpg"><img class="alignnone size-medium wp-image-28" alt="DSC_7336-big" src="https://goodpetstuff.com/newsite/wp-content/uploads/2013/07/DSC_7336-big1-300x200.jpg" width="300" height="200" /></a>? ? ??<a href="https://goodpetstuff.com/newsite/wp-content/uploads/2013/07/HL-back-for-web.jpg"><img class="alignnone size-medium wp-image-118" alt="HL-back-for-web" src="https://goodpetstuff.com/newsite/wp-content/uploads/2013/07/HL-back-for-web-199x300.jpg" width="199" height="300" /></a>? ? ?<a href="https://goodpetstuff.com/newsite/wp-content/uploads/2013/07/HL-front-300-dpi.jpg"><img class="alignnone size-medium wp-image-29" alt="HL front 300 dpi" src="https://goodpetstuff.com/newsite/wp-content/uploads/2013/07/HL-front-300-dpi-199x300.jpg" width="199" height="300" /></a>
    
    Product Features:
    
    <ul>
    <li>Comes complete with attractive, high-quality plant, decorative moss, and dust filter. ?Just add litter.</li>
    <li>Durable polypropylene construction.</li>
    <li>Large capacity pot great for large cats and multi-cat households.</li>
    </ul>
    <div></div>
    <div></div>
    <div></div>
    <div>
    
    ?
    
    ?
    <div><b>Good Pet Stuff Company</b></div>
    <div>
    
    Call: 916-349-2409
    
    Email: [email protected]
    
    Fax: 916-349-2423
    
    PO Box 2181
    Rocklin, CA ?95677
    
    </div>
    </div>

    [Please remember to wrap your code in backticks]

    Thread Starter cproctor

    (@cproctor)

    The NBSPs are right there in the code between image links but it’s converted into spaces so you can’t see it.

    It’s like this.

    <a><img></a>NBSP NBSP NBSP <a><img></a>NBSP NBSP NBSP <a><img></a>

    I think it’s caused by WP Visual editor when you tried to put the space in between those images.

    Go to that page and switch to Text Mode, not Visual Mode. And make them look like this

    <a><img></a>
    <a><img></a>
    <a><img></a>

    To put some space in between those images, use CSS. To align images nicely, might as well consider using WP gallery shortcode.

    [gallery include="28,118,29" size="medium" link="file"]
    Thread Starter cproctor

    (@cproctor)

    Thanks so much, I’ll try this! (still puzzles me as to why I’m not having issues with the other two featured image areas, but maybe it will all come to light for me as I go through the items you recommended).

    For that area, theme filters for the first 200 characters. Your other 2 pages got enough text for it before reaching to the NBSPs in between those images.

    The other way is to not let theme use the first 200 characters, as suggested by ElectricFeet, just put in the text under Theme Options.

    Thanks, but the titles aren’t the problem and those are driven by the page names, not the paragraph.

    The theme picks up the text from the pages, yes. But what I was suggesting was that you override this by re-typing the text in the “Front page” options of Customiz’it!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘First line of featured text won't center align.’ is closed to new replies.