Forum Replies Created

Viewing 15 replies - 151 through 165 (of 245 total)
  • Thread Starter RossB

    (@rossb)

    Forgot to tick ‘resolved’, so doing so now.

    Thread Starter RossB

    (@rossb)

    FIGURED IT OUT! No need for div blocks (which didn’t work, anyway) – the solution is dead easy and was staring me in the face. Thought I should report back with this simplest of solutions for the benefit of others who might land here.

    Included in the .box CSS in the stylesheet was
    float: left

    Simply change to
    float: none

    Just shows, sometimes we get ourselves into needless trouble complicating things, and overlooking the obvious.

    Cheers all!
    Ross

    Thread Starter RossB

    (@rossb)

    OK, I’ve been searching the CSS sites high and low and am still stuck. I am close to getting a solution, but I’m lacking a basic piece of the puzzle and can’t find it. So, hoping some kind soul here will step in and provide this vital and elusive missing bit.

    Please see this page.

    The text I want to begin under the boxed intro was wrapping down the right edge of the box, so I inserted the following code before the text:

    p.no-wrapp-text
    {
    overflow: hidden;
    }

    That code has stopped the wrapping, but it is visible on the published page. I’ve tried using divs in all sorts of wacky and weird experiments, but haven’t struck the correct way, obviously. If someone could come to the rescue at this point, would really appreciate it.

    Cheers
    Ross

    Thread Starter RossB

    (@rossb)

    OK – good lesson thanks esmi. Didn’t know that about the Visual Ed.

    Now if someone could possibly add a few specifics about the CSS code needed to address those text-wrapping issues detailed above, would allow me to complete another essential lesson in my ongoing WP education!

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    Thanks, esmi. Do I take it that after surrounding the floated images as you recommend, I then use CSS in some way to achieve what I’m after?

    May I ask why the Visual Ed should never be used? Does it mess things up permanently or something? If so, I wonder why it’s there as an option?

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    I’m using Text as much as I can. When I really can’t figure something out, I switch to Visual, then make the change I’m after if I can. Then I switch back to Text to try to understand the coding. But I haven’t managed to get what I want (as above) with either so far.

    Cheers
    Ross

    Thanks a lot, Hristo SiteGround! So glad you saw my post and your advice is much appreciated.

    I didn’t know about the # backlinks, alchymyth. Will certainly use them in future to start a new post in a situation like this. Thanks for pointing this out.

    Cheers!
    Ross

    Hi Hristo SiteGround

    I have to say, your method for adding a custom header to a specific page is ingenious. I’ve struggled to find a way to do this for weeks, and nothing comes close to your simple solution. THANK YOU!

    Just one question, pls. How do you apply CSS styling to a header created your way? I’m trying to center the header and can’t find a way that works. Any clues, please?

    BTW, Support Admin, I know I should create my own thread to ask this question, but this is the only place I’ve come across Hristo SiteGround’s custom header placement method, so thought in this case it might be best to post here. But of course, I’ll re-post if this is considered a breach of etiquette.

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    Aha – now that’s lateral thinking!

    Silly thing is, I’m starting to think I might be best reverting to a simpler design for this page, not because of the effort involved in doing the things I’ve been asking about, but from a design and user-friendly POV. But none of your fabulous advice is wasted, WPYogi. I’m learning an enormous amount that I’ll be able to apply in future, if not right now.

    Many thanks yet again!

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    One more box-related question, please. Have looked through w3schools but can’t find the solution to this. I’m probably not looking for the right thing or am using incorrect terminology.

    I want to adjust the opacity of the page (I know how to do that), but not to have that adjustment apply to the background of the boxes. I’ve been messing around with ‘display: none;’ and ‘!important;’, but I’m probably on the wrong track and/or are not coding properly.

    Any tips, pls?

    Cheers
    Ross

    Thread Starter RossB

    (@rossb)

    Thanks so much, WPyogi – again!

    And yeah, I’ve been aware of the W3schools site for some time, but didn’t have enough basic info related to CSS application in WordPress (other than some basic styling) to use much of the info there. You’ve just made a couple of things very clear in this thread that I’ve been missing, and that I’ll be able to adapt from now on. Just terrif.

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    Thanks a lot, WPyogi! That’s demystified a lot. Just missing a bit of understanding as to how to modify that CSS code to get things looking how I want.

    Here’s a link to the page I’m working on:
    http://ppredesign.perthpunk.com/the-orphans/

    I’ve applied the HTML to the first three text sections of the page and added the CSS to the stylesheet. After playing around with the values (right terminology? I’m referring to the numbers in the CSS code), I’ve managed to adjust a few things appropriately, but I’m missing the knowledge to do the following:

    Style each box individually. At the moment, they’re all the same size, but this doesn’t work when the amount of text within varies, so I need to be able to make particular mods to each box without affecting the other boxes. Specifically, to adjust the height of each box so the text within fits inside properly.

    I also need to adjust the padding between the text and borders of the boxes – this will not vary from box to box.

    If I’m not outstaying my welcome, would you mind providing some basic CSS as per the above, please?

    BTW, just want to say a general thanks for your help on my other threads, too – you’ve contributed to my fast-building knowledge of this stuff a lot. It’s still a daunting task for me to complete this re-design project using Twenty Twelve, but I’m beginning to get a buzz out of getting to know more as I go. Once I have examples of modifications, it’s a big step forward. Thing is, there are so many damned mods I need to know how to do! But I’m getting there thanks to people like you, Seacoast Web design, Andrew Nevins and Alchymyth who so generously share their expertise on here.

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    Actually, the site I’m trying to replicate using Twenty Twelve is mine, but I created it 8 years ago using FrontPage. That was easy, since FP was WYSIWYG software.

    I thank you for your feedback, but to be honest, I don’t understand what you mean by “Study the output HTML and CSS of that site and replicate on yours.”

    I do have Firebug installed, but my capabilities are limited to identifying an element in my Twenty Twelve design that I want to modify, and googling for a solution (mostly on here).

    How, for instance, would I use CSS to substitute for the old tables I was so familiar with in FP? I don’t know the first place to start, and yet I’ve managed to modify the Twenty Twelve site I’m working on bit by bit to have it getting close to how I want it, and learning a lot in the process. So, I’d like to give this a go, if only I could work out how to start!

    Any help just in relation to creating table-like blocks of text using CSS gratefully accepted. If I can make a start on that with some basic knowledge of how it’s done, I should be able to figure out the rest.

    Cheers!
    Ross

    Thread Starter RossB

    (@rossb)

    OK, I thought I should at least try exactly what you recommended, Seacoast Web Design, instead of using my own adaptation when I know so little about CSS. Sorry – was getting ahead of myself.

    Also, I realised that what you recommended made more sense than my adaptation, which was done under an incorrect assumption that I’d have more parent pages than child pages. In fact, it;s the other way around.

    Anyway, the following didn’t work:

    page-item-49 .entry-title {
    display:none;
    }

    So I tried:

    page-id-49 .entry-title {
    display: none;
    }

    That didn’t work either. So I tried putting a stop in front, as follows:

    .page-id-49 .entry-title {
    display: none;
    }

    Voila! Nice to be able to share a success without bothering you for more assistance! Thanks for setting me on the right track.

    Cheers
    Ross

    Thread Starter RossB

    (@rossb)

    Really appreciate your feedback – thank you. I was aware of that simpler code. However, I have heard that it is best to avoid ‘display:none;’ as much as possible, and opted for the more complicated code as a result. It’s not mine – I came across it on one of the many WPSupport threads I’ve been perusing as an alternative that maintains SEO-friendliness and does away with the need to use ‘display:none’.

    Anyway, I deleted the complicated code and reverted to the one you suggest, adding it to similar code already in the stylesheet as follows:

    .page .site-title,
    .page .site-description,
    .page .entry-title {
    display: none;
    }

    /* Assuming this is your home page */
    .home .site-title,
    .home .site-description {
    display: block;
    }

    All working fine, but of course as per the code, the child pages are not displaying the entry-titles. My question is, can I block specified pages from hiding the entry-title in a similar way that the home page is blocked? I’d rather do this than add a list of pages where the entry-title is blocked, which will apply to most pages on the site.

    I’ve tried the following, but neither worked:

    page-item-171 .entry-title {
    display: block;
    }

    page-id-171 .entry-title {
    display: block;
    }

    Here’s my site URL: http://ppredesign.perthpunk.com/

    Cheers
    Ross

Viewing 15 replies - 151 through 165 (of 245 total)