Forum Replies Created
-
Mod
Quote:7. Edit the original “graphene.js” file in your main theme (not child theme)Please do NOT edit theme files.
Mod
Put code in between backtick (
Code:`) characters. It’s usually located above the Tab key on your keyboard.
Quote:The sidebar is still at the bottom of the page on the product pagesYes. And I said that
Quote:Probably because you are echoing a <div> opening tag without closing it later in the page.Look at your code. Nowhere is there a
</div>in there. Without closing the div, the sidebar will move to the bottom of the page.Mod
In reply to: Bullet Points Mess Up Slider (Slider Clashing With HTML Codes)
August 18, 2014 at 11:15 pm #43202It is really difficult to offer good advice without seeing it live.
Mod
Put code in between backtick (
Code:`) characters. It’s usually located above the Tab key on your keyboard.
That is a custom function which should go in your child theme’s
functions.phpfile. Be sure to changegraphene_action_hookto the name of the actual action hook you want to use.Mod
In reply to: Where can I put the code to display add banner on top.
August 18, 2014 at 11:11 pm #43256They have apparently edited theme files, which you should never do.
However, you can probably achieve the same (or a similar effect) with a Graphene action hook widget area.
Moved to Support.
Mod
Please don’t hijack someone else’s thread with a different problem. Please feel free to start a new thread any time you have a new topic.
The forum post you linked to is from two years ago. Graphene now has a built-in theme option to change the width:
Graphene Theme Options >> Display Options >> Column Width Options
Also, there is no need to use a custom css plugin, as Graphene has supported that feature for a long time:
Graphene Theme Options >> Display Options >> Custom CSS
Quote:Probably I should stay away from them and just start a child theme and edit that.That is always your best bet. You can read more about how to do that (even after you’ve made changes) in the post I’ve written here:
http://techblog.kjodle.net/2014/04/12/wordpress-child-themes-the-whys-and-hows/
I don’t see anything wrong with your site now, other than the advert on the right side is too wide and you’ve added nothing to the left-hand widget area.
Mod
You can use the way you mentioned in your original post, but it requires using the text editor. I assumed you were using the visual editor.
Mod
Put code in between backtick (
Code:`) characters. It’s usually located above the Tab key on your keyboard.
The second opening php tag is unnecessary, as is the first closing php tag. You have excluded your first two
remove_actions and they are just printing directly to your page.Quote:The sidebar widget area moves to the bottom of the page.Probably because you are echoing a
<div>opening tag without closing it later in the page.Header width and height are theme options; you shouldn’t need to specify them here.
Mod
There isn’t a theme option for this. You’ll need to find a free icon image and use a Graphene Action Hook widget area to add the appropriate HTML to your posts and pages.
BTW, it’s best to use a contact form, rather than a direct email link, unless you like lots of spam. You could link the email icon to your contact page.
Moved to Support. Please post in the correct section next time.
Mod
Since this isn’t purely a Graphene issue, I’ve written a brief tutorial here that offers a slightly different way. You will probably need to use the selectors Prasanna indicated, or something similar.
