rdg@me.com
Forum Replies Created
-
Andrew his help was perfect. He responded to a post and gave me directions towards a solution which I very much appreciate and might allow me to move on with the development of my site. I fully understand that this forum is not a place to ask for someone to write your code for you and tried as best as I could to reiterate in my response to him that my original post was not well written and came across as asking for a ‘quick fix’ which I fully understand is not the point of any technical forum. It’s about techniques that we share between us that allow us to move on together.
I repeat. I didn’t like is tone. I taught a group of 14 year olds today to teach them about density as a concept. If I had said to them “how ignorant you are to not have first searched the available literature before asking me an ‘obvious’ question, do you really consider I would be ‘in the right’? It might have been an obvious question to me who already knows but to him it was a part of the learning process.
We’re arguing over semantics, this isn’t the place and I ABSOLUTELY agree that my original post was ‘late night’ and not well written. I’m in the wrong here. I wrote a crap question or included a crap part in a genuine question. I stand, nonetheless by what I wrote earlier. Learners make mistakes and the learned should allow a degree of tolerance of these. Read the thread from start to beginning. The original post wasn’t meant to be a ‘write me my code for me request’. It was nothing other than ‘late night’ and I shall do everything I can to avoid repeating my mistake.
My original post wasn’t well written. The purpose of the post was to ask whether others felt it was a better technique to include the menu in the header or in the menu aesthetically and for logistical reasons although in my final line I asked for a ‘how to’.
The first respondent responded to the initial part of the question. He/She was happy to have it in the the header.
My subsequent post reiterated that, should I consider that putting the search bar in the menu was a better option, then it was my responsibility to put in a little research before posting for a solution.
Accepting that the original post was unambiguous in that it ended with a request for a solution, the sarcasm of the tone of the moderator’s response aggravated me somewhat although I do VERY much appreciate that the moderator directed me towards a solution in their post.
I’m a teacher (during the daytime) and so I appreciate more than most that the ‘learned’ should value the desire of the ‘learner’ to ‘learn’.
Less sarcasm would be appreciated by the users of the forum although we VERY much appreciate the help you give us.
A request, though; please respect the fact that we are learning and doing all we can to learn. And your place on the web is a place of knowledge. We don’t always inherently understand your frustrations at being asked a question that has been asked before as we don’t do your job as you don’t do ours. I’m only a coder by night. During the day I teach other things.
You slapped my wrists and I’m now slapping yours.
Finishing I reiterate that, while I haven’t yet finished implementing the solution, I only know of it on the basis of your post. But your job isn’t to be sarcastic (if you are paid for it). It is to help the ‘less learned’ to learn.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Customising the search barMockup png file posted on my server
Ok Andrew,
I made you a quick mockup png of the custom search bar I’d like to make using css and a single sprite for the magnifying glass.
The circle to the right is a button which I’m sure I’d just make as a button class in the style sheet. Getting it to have the magnifying glass I can probably achieve by giving that button a background image url and hiding the button type offscreen.
I realise these are css issues rather than Twenty Twelve specific ones although this post/query is Twenty Twelve specific. Before I can modify the css for the search bar I need to know how it is created. I don’t know if it is created in the css file but I don’t think so. I think it’s somewhere in a php file which calls up standard button and form field css classes but I can’t find it for love nor money. I realise that getting the word search to appear by default in the form and putting the button inside the form or in a layer over the top of it will be a hurdle but I’m up for the challenge if someone can start me off (and will, of course, document any final solution I come to should others wish to implement it.)
I’ve got mine currently in the header in the same way but I think I’d like to persevere with trying to put it in the menu itself as the last child of the menu. I’ll see what I can dig up in other posts. I’m sure it’s going to need a function in the functions.php file but I think I’ll be able to find posts on that as it’s not Twenty Twelve specific. It’s when you want to modify Twenty Twelve specifically you come across more problems as its a newish theme and there is less written about modifying it.
Thanks for your reply.
r
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do you control the space after p and h tags?Andrew,
Sorry I didn’t mark this as resolved sooner. I managed to have an FTP accident this morning and over-wrote my css file with yesterday morning’s version. It’s taken me a while to get back from that.
I’m sure I have a lot of separate css declarations styling (or trying to style) the same elements in earlier parts of the code but your having directed me to that particular line of the css has allowed me to resolve the layout problems I had.
r
Forum: Themes and Templates
In reply to: [Twenty Twelve] Customising the search barworking example no but i’ll photoshop you one tomorrow afternoon
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do you control the space after p and h tags?I think I’ve got my head round it now but it’s time to cook my tea!
I just wanted to write to you to thank you once again for your invaluable help. Coding on your own can be a very fruitless business. A bit of quality help can save days.
My thanks.
r
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do you control the space after p and h tags?I’m too ‘coded out’ today to get my head round this..
Adding
entry-content h2had dramatic results but not the ones I would have expected. If you don’t mind I will not mark this as resolved until I’ve slept a little, come back to it with a fresh morning head and understood why what worked worked but what is still left to fix hasn’t yet worked. I’m sure the help you’ve given me will allow me to fix the problem.Thank you very much.
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do you control the space after p and h tags?removed..
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do you control the space after p and h tags?Have just added said code after the IE 7 and 8 declarations at the end of the child css file and there is no change.
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do you control the space after p and h tags?Dear Andrew,
Thanks for your reply. (the second time you’ve replied to me in as many weeks). I generally avoid plugins, preferring to write my own css in BBEdit, then saving to the server. I have a child theme set up and my own css override file. That is all working fine. It was simply the part of the style.css which controls the spacing after <p> and <h> tags I was hoping to find.
I’ve already disabled the margins in the line of code you referred to and I still have what appears to be about 24px of space between any given <h> element and a subsequent <p> element:
.entry-content p, .entry-summary p, .comment-content p { margin: 0; }I’ve put a partially opaque bottom border on each of the elements for layout purposes which might help to show you the space I’m trying to get rid of.
For example.. (http://www.richardgraham.it/mics/the-school/organisation-structure)
“LIBRARY
Our library houses”
I want about half the space between the <h3> heading “LIBRARY” and the subsequent <p> text “Our library houses” but can’t find where in the css file I can modify this. I wish CSS would follow print design standards and behave like inDesign with ‘space after’ and we wouldn’t have these problems anymore.
Anyway, any help you might give me would be most appreciated.
(I’m also having massive problems with custom walkers to split the main and sub menus so I can style them separately but I’ll behave myself and write a separate query for that after properly researching it myself)
Forum: Themes and Templates
In reply to: [Twenty Twelve] How do I widen the search form?Your class ‘header search’ is an outer container which hosts the search form but won’t do anything to style the form itself. I don’t know if this is the best place to edit it (as it might have unwanted effects on other types of forms) but you can achieve what you’re trying to do by modifying the style below (line 268 of the theme’s css file)
/* Form fields */ input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea { padding: 6px; padding: 0.428571429rem; font-family: inherit; border: 1px solid #ccc; border-radius: 3px; }It might be worth seeing what other suggestions you get. I’m NO expert!
Forum: Themes and Templates
In reply to: Twenty Twelve remove space between wp-menu itemsThe only thing that’s ‘floating’ is my bloody head trying to write css and php when I haven’t really got a clue what any of it means! Oh and then translate the site content into a language I don’t understand well enough to know if it’s right or wrong. So many different language problems! Enjoy your Friday night.
Forum: Themes and Templates
In reply to: Twenty Twelve remove space between wp-menu itemsThanks again Andrew
Forum: Themes and Templates
In reply to: Twenty Twelve remove space between wp-menu items‘.main-navigation li a,
.main-navigation li {
/* display: inline-block; */
text-decoration: none;
float: left;
}’appears to have done it. Thank you very much. I really do wish I understood more than I do but, with your reply, you have given me some starting points for further reading. As I say. Thanks very much.