JoyG
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twelve] Easy? Hover effects for images created in a pageSorry about the missing backticks in the seocnd example.
Thank you Andrew and Marybaum for your replies, I really appreciate it.
I made a functions php file today but it has nothing on it except:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }
Marybaum, I’ll try out your logo code, once I finished this reply,I am hoping to have the name of my typed site next to it. My logo doesn’t include the name of my site. Ideally I’d write it in the font ‘Avenir’ but accessing that (I don’t alredy have it) it not high on my priorities just yet compared to functionality. Like you say, my site title doesn’t need to be H1 – I agree because then I think all my other titles which contain more diverse info would be secondary!
I could just delete it if it is causing the problem, though I copied that code from an answer someone gave.
I am using TwentyTwelve.
To add an image like you suggested I will just just use Filezilla and then when it is in the childtheme make a folder called ‘images’?
I don’t know how to code for padding or to size the containers yet so I will have to reseach that (I feel awkward looking for too much help here, as I know it is something I have to invest time in myself! – I am have reserved som library books on CSS but not got them yet).
Thanks for your sdvice on pixels, I will watch out for that.
I would LOVE a widget area to the right of my logo! I spent all day today trying to get one, but my efforts didn’t work. If it is simple would you be able to write down the code that could make that?
I am aiming to have middle-right a changing quote thing (I will try to make this based on hello Dolly plugin) and along the top of the menu bar a “Call my-mobile-no.” and a search box for the whole site (not just posts)
Thanks for your advice, it is so helpful, pointing me the right direction.
Forum: Themes and Templates
In reply to: [Twenty Twelve] making my own image the site titleI am new here, as of last week, so you probably shouldn’t listen to me, but I did get a logo in the space beside the Site title, and maybe part of that code could somehow help you if you put your image instead of a logo. I got the code off a forum, but I am not sure it it creates validation errors… so I guess if you tried it it would be up to you to check that for your site (it still looks good).
/* ===== begin logo ===== */ .site-header h1 a:before { content: ""; display: block; width: 48px; height: 48px; margin: 0 auto 12px; background-image: url("https://your website.co.uk/wp-content/uploads/2014/10/Logo-for-your website.png"); background-size: cover; } .site-header h1 { margin-bottom: 0; } @media screen and (min-width: 600px) { .site-header h1 a:before { width: 72px; height: 72px; position: absolute; top: 0; left: -96px; } .site-title, .site-description { position: relative; margin-left: 96px; } } /* ===== end logo ===== */
I also tried
.site-title{ display: none; }
on my page to see what it did – it removes the site title, but you would probably also have to do one for the tag if you had a tag. But this also removes the logo above… so I am not sure.
I play around with these things because I know nothing!
I hope someone else will answer you too!
I am trying tomake this topic resolved… not sure if I have to type something in order to click the ‘resolved’ button…so here goes…
Thanks Stephen!!
Ah… I could change my menu bar colour like that perhaps… the adventure continues!
Thanks Stephen. I’ll say what I learned in beginner’s terms in case it helps anyone else.
I went to Apperance, then Editor then in the box add pieces of code, enter, scroll up to see if editor likes them (greem colour) then view your webpage to see what the effect is; do one piece of code at a time.
When you say ‘CSS Selector’ do you mean a piece of code that I might want to copy to alter myself?
I notice on Firebug it works on any site… does that mean web developers can take code from any website they like the look of? Or only if it is in the same theme?