olavxxx
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site has been hackedTry to google your plugins. TimThumb for one has maaany security flaws..
Forum: Themes and Templates
In reply to: Sidebar Link LayoutStyles are in the .css files, you can add new or change existing or override with !important.
If you add more .css files, the best thing to do is to use this code:
https://codex.www.ads-software.com/Function_Reference/wp_enqueue_styleIf you register and enque the style, you can later add a hook on the print_styles (add_action). The default action-priority is 10 if I remember correctly, so if you later on decide that you wish to override your new .css file on some pages, you can have a hook with let’s say 20 as priority. (so you know the first one is loaded, before you deregister it and re-register a new one).
It’s important that you then have a unique naming conventions for those styles you wish to control/deregister/register.
You can solve the “sidebar menu” in several ways. I think I would define a new menu (sidebar-menu), so you can easily manage the pages/posts as one and add class as wanted, as well as you get the ability to style the current-item.
such definitions, hooks, etc. should go in the functions.php . You can actually look at the main menu you have there and try to replicate it your self.. it’s not very difficult ??
Forum: Themes and Templates
In reply to: HelpA premium theme hopefully has support.
What you can try, before pulling out your hair, is to check if you have enough items defined for the slideshow. I bet there is some sort of documentation/first steps you got with the theme, which might also have said something about the slideshow (how to add items).
Try to add as many items as the demo/showcase has, also make sure they are regular JPG first.. RGB color, and no strange names, use A-Z, 0-9, like banner_1.jpeg
I have seen several such themes that are too dumb, eg. they dont work if you dont have enough items.
Hi,
You can try my JQuery code
[Code moderated as per the Forum Rules. Please use the pastebin]Ps. you might have to play with it, but you can check if it works.. I have the stop on the animation to prevent the enque of animation, as that makes jquery crazy ?? I know there is a “non enque”, but I found it to be a tad buggy.
Forum: Themes and Templates
In reply to: How to delete Navigation from 'Smart One' theme?If you provide the URL, I might be able to help.
Forum: Themes and Templates
In reply to: CSS Parse Error- Cannot Change BackYou should not be putting any CSS in functions.php
functions.php is for the theme functions, like defining widgets, thumbnails, hooks, what the theme supports, etc.As your error is on line 81, most likely your code is on line 80 or 81.
Forum: Themes and Templates
In reply to: Custom site images on comicpressYour problem is that you are setting a background image in something that is smaller than the background image.
For instance your home link, it is 34px * 15px.
Your home-button is 185px * 50px.Now the question might come to mind: How to do this?
Your current menu is text-based and has a background image.
Even though you can actually style the LI-element or the A, I guess you want your entire button to be clickable.You can trigger this via. JQuery, though I prefer doing it the “Old skool way” with transparent <img>.
I’d do something like:
<li> <a href=""> <img src="/path/to/trans.gif" width="185px" height="50px" alt="Home" /> </a> </li>
There are many ways to do this, depending on how much you wish to code.. The most “silly” and simple way, is to just make this a static menu.. Or you can code some way to dynamically making the menu with the images.
Ps. I would still set the background image with the transparent gif. I have done something similar with a map once, and often I do it with header images.
Forum: Themes and Templates
In reply to: installing issueIf you have FTP, try to unpack the file on your PC and upload it.
Ps. are you sure the template is OK with the current version of WP?Forum: Themes and Templates
In reply to: CSS Parse Error- Cannot Change BackYour PHP code has to be between:
<?php
AND
?>
So if you by accident do something like:
<?php <img src...
you will get this error!If you need some regular html between the php, you do like so:
<?php /* some php code here */?> <!--# Some HTML here --> <?php /* Some php here */ ?>
Forum: Themes and Templates
In reply to: Need Help Getting Rid of Title BackgroundYou can manipulate the DOM with Chrome, Firefox and Opera.
Right click an element and just edit the styles ??I would try this:
.clearfix { display: block; margin: 40px 0px 0px 40px; }
Then delete this from the template:
<div class="shadowbox"></div>
In style.css (root folder), change:
.content_full { width: 978px; }
To
.content_full { width: 880px; padding: 25px 0px 25px 60px; text-align: justify; }
Forum: Themes and Templates
In reply to: Need Help Getting Rid of Title Background/wp-content/themes/PrivateLawyer/skins/1-default.css
Line 78..Ps. you might have to FTP it down
Forum: Themes and Templates
In reply to: Different categories with different stylesheets not displayingForum: Themes and Templates
In reply to: How to change site title color ?Look in your header.php
It might be a problem with a script”collision”. H
ard to say without looking at it.Look here for info on how to add JS, if it’s done wrong:
https://codex.www.ads-software.com/Function_Reference/wp_register_script
https://codex.www.ads-software.com/Function_Reference/wp_enqueue_scriptForum: Themes and Templates
In reply to: Need Help Getting Rid of Title BackgroundIs this your problem?
.breadcrumb_box { background: #626E7A url(1-default/page_headbg.png) repeat-x left bottom; border: 1px solid #5D5D5D; color: #D7D7D7; }