redrambles
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Looping custom posts on front pageHi there,
Yes – you should be able to use that code block as much as you like -> as long as you don’t forget to reset the query (wp_reset_query) you should be all set.
As for the styling – here is some of what I used (there is other styling applied to the outermost divs, but this following might still be helpful to you.
Happy WordPressing! ??
Forum: Fixing WordPress
In reply to: Looping custom posts on front pageHi there,
I put together a quick custom post type called ‘test_post’ and pulled 3 of them, with their featured images, titles and excerpts on the front page.
I didn’t work too much on the styling and the image sizes need work, but you get the idea! ??
Here is the code that I used to display it on the front-page:
Hope this is helpful to you!
Hmm – interesting about needing the ‘!important’. I’ll look into it.
Glad it worked out! ??
Hi there!
Here’s what I did re: a simple style change to the title:
`
#post-1241 h2 a,
#post-1178 h2 a {
color: green;
}
Here’s what it looks like at this point.Hope that does the trick! Happy WordPressing! ??
Hi again!
Ok so I downloaded the Mesocolumn theme and I was able to make a few blog excerpts on the page noticeable using the following code at the bottom of style.css:
#post-1178, #post-1241 {
background: lemonchiffon;
}
#post-1178 div.entry-content,
#post-1241 div.entry-content{
color: tomato;
font-size: 1.25em;
}
I’m sure you’ll want to use different styling – I just wanted to make sure it would standout! ??
Here’s what it looks like.I don’t know if you’re using a child theme to make your code changes – but if you simply want to alter the appearance (styles.css) like in the above example, you could achieve the same result by using the Jetpack plugin and activating the Custom CSS module. (It will appear in your dashboard, under Appearance > Edit CSS.) Either method (child theme or JetPack’s Custom CSS module) will enable you to make styling changes without worrying about these being wiped out during the next upgrade.
Hope this helps!
Hi there!
If I understand you correctly, you want to change the colour of the text of certain post excerpts on the blog page, is that right?
Can you tell us which theme you are using?
Forum: Fixing WordPress
In reply to: linking header to homepageHi Andrea!
Absolutely – you should not edit the file via the editor – otherwise your changes will be wiped out the next time there is an update to the theme.
To make changes to the code (for css and php files) it is recommended to use a child theme – you can find out how to to that here.
However – if you simply want to alter the appearance (styles.css) like in the above example, there is another, easier way! You install the Jetpack plugin and activate the Custom CSS module. Then you can make all your custom CSS changes in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS – safely – without worrying about these being wiped out during the next upgrade.
Forum: Fixing WordPress
In reply to: linking header to homepageHI there! I think that there are a lot of options in this theme – and I definitely don’t think that setting up your image in the header is ‘wrong’. Our goal here is to get the image to link back to the home page without having to play around in the code, right?
What I did figure out is that if you set up your image as a site logo – you don’t actually have to enter in a custom link – it will simply assume that you mean it to link to the home page. So if you try that – go ahead and leave the link section blank and see if it works for you!
Forum: Fixing WordPress
In reply to: linking header to homepageHi there – I think that you probably just have to enter a link in your Custom Site Logo Link box, in your theme options.
So – from the Dashboard, select Appearance and then Customize.
Then select Themify Options -> Site Logo & Tagline
Enter your homepage url under Custom Site Logo Link.
Here’s a screenshot of the Custom Site Logo Link so that you know what you are looking for…
Hope this helps!
Forum: Fixing WordPress
In reply to: Visual Editor changes all text instead of just marked text!Ah! Yes, I agree with karpstrucking. ACF would be overkill in this instance. ??
Forum: Fixing WordPress
In reply to: Visual Editor changes all text instead of just marked text!Hi there!
Have you considered using Advanced Custom Fields plugin? It breaks a page up into sections very nicely and makes it very easy for your client to update. You could have a field for the page title and another for the address and wrap each ‘behind the scenes’ (in your custom page template) with whichever html tag you wanted, and of course any classes or ids, etc that you may want to use to style in your css.
Your client would see something like this in the dashboard:
Here is the plug-in link:
Forum: Fixing WordPress
In reply to: I have " wp_head() ; " printed above the header picture !!I took another look at the website using Chrome Developer Tools and it looks like your wp_head(); is definitely text within your website’s body. It seems to happen right after a div that contains a flash application of some kind… Maybe something to look into?
In the meantime – while you find out what is causing it to appear, giving the body element a negative margin-top value will hide it.
body { margin-top: -22px; }
I know it’s far from ideal but it could buy you a little time! ??
Forum: Fixing WordPress
In reply to: I have " wp_head() ; " printed above the header picture !!Just a guess here – Could it be that your wp_head function isn’t properly wrapped in its php tags?
<?php wp_head(); ?>
Forum: Fixing WordPress
In reply to: Nextgen thumbnail image links directly to image urlHi there!
I have Nextgen running on a site and I tried working through some of the settings to see if I could reproduce your issue. Is an effect selected in your NextGen Gallery -> Other Options -> Lightbox Effects?
Forum: Fixing WordPress
In reply to: How to edit Index page?Hi there – there are two ways that I would go about dealing with this.
1) You can either go into the template itself that has the content for the posts on your main page (we would have to hunt around a little to find out which one it is)
2) or you can find which selector is applied to the content that you do not want to see (the date, and who posted, and so on) and give it a display:none in your css (style.css)