Hi, I would like to take the date of selected posts and also have a page instead of a post on the home page. Can I do this. I need to get this figured out today!
Hi, I would like to take the date of selected posts and also have a page instead of a post on the home page. Can I do this. I need to get this figured out today!
I am using the Publish Theme
Hi, I also need to know where to change the color of the menu text. It is blue and I need it to be black. I know css somewhat. Still a beginner :) Thank you
Posting a link to your site will increase the ability of people to help you with CSS questions.
Thank you.
This is my link
http://www.avisualadvantage.net/argent/
This is the website I am rebuilding in WordPress with the Publish theme.
http://www.ardentconsultinginc.com/
I have to have this complete tomorrow so will be working late.
Right now I am trying to figure out how to put a background image behind the menu and have to change the menu to black.
Thanks so much for your help!!!
That is menu text to black....
You really need to be using a Child Theme for making any changes to the theme files -- as is, you will lose all the changes when the site is updated.
http://codex.wordpress.org/Child_Themes
Once you have that set up, to change the menu text color, try adding this to the new child theme style.css file:
.main-navigation a {
color: black;
}
So far as the image, it looks like you could possibly put it as a background image in this:
.site-header {
background: url('filepath.jpg');
`
You'd probably need to fuss around with the positioning using the background attributes:
Thank you I will try that now.
I created a child theme and uploaded it to the Publish Theme folder called publish-child and put the style.css in there.
I can not seem to activate it. Does anyone know how to activate the Child them in the Publish Theme?
Child Themes don't go inside the parent theme folder (I know, seems illogical), they go on the same level as any other theme. Then it should show up like any other theme on your site and you can simply activate it like any other theme.
okay thanks I will try that.
I put the folder called publish-child which has a copy of the style.css on the template level and I am coming up with
Broken Themes
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Name Description
Publish Child Template is missing.
Should this them only have the custom updates to the style.css and nothing else and have all the css in the parent?
The stylesheet in the child theme must have the required stuff at the top:
/*
Theme Name: Publish Child
Description: Child theme for publish
Author: Your name here
Template: publish
*/
@import url("../publish/style.css");
is that what you have?
Yes, you only have your changes in here.
yes pretty much:
/*
Theme Name: Publish Child
Theme URI: http://www.avisualadvantage.net/argent
Author: Lauren Labas
Author URI: http://http://www.integrit-network.com/
Description: This is a child them for Publish Template
Version: 1.2.3
License: GNU GPLv3
License URI: http://www.gnu.org/copyleft/gpl.html
Tags: light, white, blue, two-columns, left-sidebar, flexible-width, custom-background, custom-colors, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Based on _s: http://underscores.me
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
@import url("../publish/rtl.css");
You're missing the "template" line which is what connects it to the parent theme. That's also what the error says you are missing! Also, why are you using rtl.css in the file path -- that's not the parent stylesheet in your theme, is it? Looks like style.css to me.
Oh just following directions I was reading.
What should the template line say? so I get if right
For more information on child themes please read through the Codex entry: http://codex.wordpress.org/Child_Themes
I posted it above (and that was from the page linked above on how to make a child theme...)
Put only this in the stylesheet -- remove all the other stuff which is not part of the child theme anyway:
/*
Theme Name: Publish Child
Description: Child theme for publish
Author: Your name here
Template: publish
*/
@import url("../publish/style.css");
Your styles will go below the above.
I will try @import url("../publish/style.css");
thanks :)
Hi this is my error message. Themes must have a stylesheet and a template.
Do I need to have a template in the publish-child folder?
@import url("../publish-child/style.css");
and
@import url("../publish/style.css");
The only thing in your child theme folder is the style.css file and it has the above at the top -- with only the one @import line.
There is no line like this anywhere:
@import url("../publish-child/style.css");
What is at the top of your child theme style.css file now?
this is my path to my theme /www/argent/wp-content/themes/publish
What is in your style.css file?
This is what I have on the top and put the publish-child folder on the theme level
/*
Theme Name: Publish Child
Theme URI: http://www.avisualadvantage.net/argent
Author: Lauren Labas
Author URI: http://http://www.integrit-network.com/
Description: This is a child them for Publish Template
Version: 1.2.3
License: GNU GPLv3
License URI: http://www.gnu.org/copyleft/gpl.html
Tags: light, white, blue, two-columns, left-sidebar, flexible-width, custom-background, custom-colors, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Based on _s: http://underscores.me
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
@import url("../publish-child/style.css");
I'm really a bit confused -- I've posted twice exactly what you need to put in that file ...
Again, ERASE everything you have and put this:
/*
Theme Name: Publish Child
Description: Child theme for publish
Author: Your name here
Template: publish
*/
@import url("../publish/style.css");Thank you for your patience. I really appreciate it. I will try that :)
No problem... just keep at it and we'll get there :). I know it can be a bit confusing when you have not done it before.
that worked. So I went to themes and activated it and lost a bunch of stuff it seems.
http://www.avisualadvantage.net/argent/
Am I missing doing something with the parent theme. I to have everything this same on the parent css as the child css. Just copied and pasted. Should I just have the revisions to the code on the child css and all the other css on the parent?
You should only have changes to the CSS code in the new style.css file. It looks like you copied the entire thing? That's really not what you want to do as it make it much harder to keep track of what's what in your CSS code.
Oh, and you need to re-do any images because the file path is different now - so that's why your logo is missing.
You must log in to post.