Forum Replies Created

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

    (@pearluvsapple)

    Close enough, thank you so much!

    Okay my bad, I thought you were looking for a mouseover effect not a ‘what page am I on’ effect. I didn’t read your post closely enough, take a look at this and it will walk you through doing what you’re trying to do with your navigation.

    As Yogi pointed out you need to apply a class on the current page and then let the css dictate how that page appears as the class is assigned. I would go with ‘Method 2’ personally as it seems much cleaner in the end. Goodluck!

    Ah, you want the CSS selector ‘active’.

    On your CSS stylesheet you have the lines that govern the element such as .nav or #navbar li, something like that. You want to add a few lines of code to handle the separate treatment of the active element.

    For a nav bar with the div class ‘menu’ you would have something like
    .menu li { some css goes here } and you would want to add another line such that .menu li:active { has some different styling }

    If you have a parent/child relationship between your navigation elements you might want to take a look at this thread to head off any problems with your styles carrying over into subsequent ul/li elements.

    I’m not entirely sure what you’re getting at. The couple of times I’ve written child themes (not voluntarily) I never updated the parent theme after that point. If the parent theme updated (with say, a new version of WordPress) and I wanted to use that version I would go through it line by line and basically rewrite my child theme all over again to suit the functionality of the ‘new’ parent but I wouldn’t be trying to use an updated version of one paired with the original of the other (if that makes sense).

    Where I’m getting confused is that it sounds like you’re talking about three versions of the same theme, the parent, the first child and modifications to the first child that you have personally made. If an update comes along ‘upstream’ from your code you’re going to have to let them ripple down and adapt code at every step of the way to suit. Long before I went to that much work I would scrap the idea of using another developers code and just write my own theme out using Bones or another rapid framework and update it myself as needed.

    Forum: Your WordPress
    In reply to: Reviews Required!

    Everything has round corners but your nav bar, just something that bugs me personally. Penguin is cute and your colors are nice a clean. Good job!

    Hmm. Honestly I would just write my own child theme and not mess around with updating the origional child but I think you have the right idea with your three steps written out above. The whole point of using a child theme to me is not to end up in this type of situation in the first place, I wish I had a better answer for you.

    Are you talking about something like this? can you clarify?

    Put the entire navigation in side a div that’s got a show/hide toggle on it? Can you clarify on what behavior your looking for here?

    So you’re using a theme and a child theme and both were written. By other developers? Just clarifying.

    That would help. You might also try downloading the most recent version of Firefox and using the 3d visualized to get a better idea of exactly what elements your looking at changing and where they are in relation to each other.

    Glad you got it working! And you’re right, I was giving you instructions for posts not pages. My bad!

    Dont’ worry too much about the ‘looking like a blog’ thing. WordPress powers CNN and Martha Stewart and those don’t look like blogs so you’re probably good as long as you can get the stylesheet tweaked the way you want it.

    With the clarification I can tell you that you have a margin set on .suf-flat-widget on line 2199 of your style.css. Nuke the margin (margins go clockwise top, right, bottom, left) so swap out that 8 with a zero. On line 52 you have a sidebar shell that is putting white around the edge, either kill that border-color:white or find where your shell is sized up a few pixels from your actual sidebar and set the two widths to be the same. Looks like you’ve got three containers shoehorned in there on that theme and that’s what’s causing the color issue.

    Let me know if you continue to have trouble but killing those two lines fixed the issue in my firebug though it did remove some additional styling that you might want to add back in later.

    Whew.. Okay the easiest way to do this would be to create a category specifically for your pages. In this example I’ll call it Featured Image and set the category slug to ‘featured’.

    Cut and paste your page.php in it’s entirety into a new file called ‘category-featured.php’ (note that the name of the file after the hyphen is the same as the slug, this is important!).

    On line 21 of this new file change the h1 class to ‘hidden’ and then at the bottom of your CSS file create the following line of code:

    .hidden { display:none }

    Save everything and then open a page where you want this change to take effect, in the checkbox to the right move the page into the category ‘Featured Image’ by selecting the checkbox and hit save. The page template for that category should then automatically be applied and the title should be hidden according to the CSS rules.

    Make sense?

    Okay, so this is going to be a little on the complicated side. I’m assuming what you want to do is suppress the title on a certain view rather than suppress all titles everywhere on the blog. So what you’re going to want to do is change the name of the title container on the view where you DONT want it to appear to something original. The demo calls everything on the homepage ‘entry-title’ so you’d want to change one or more of them to something like ‘entry-title-hidden’ , then in the CSS set the class .entry-title-hidden { display:none;} and so on and so forth.

    The problem with this is that it’s going to be uniform. Even posts that you give a title too will still not display that title when being called into that position where you have specified in your template that titles should be hidden.

    This is a very specific tweak that you’re going to have to make on a case by case basis and it’s really hard when I don’t know exactly what page/post template you’re trying to modify. Hope that helps.

    Wow you have a lot of overwritten CSS in your code. Just to clarify is it the white area to the right of the navigation element on a:active and a:hover that you’re trying to get rid of?

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