Pyrate.Ned
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Change width of a pagethat is because it is not in your css file it is in https://www.facultepdf.com/wp-content/themes/jupiter/skin.php at line 485
but you could always just over ride it with
.mk-grid { max-width: 1500px !important; }
in one of your css files
Yeah just make a new top level page named “team-view” then make some pages which have the top level page as the parent. https://lakeoswegoattorney.com/top-level-page-name/child-page/
Forum: Fixing WordPress
In reply to: Upload Path changingWhat I would do is make two sql dump of your database then open one of them in your favorite text editor, do a find for “https://domain.com/wp/wp-content/uploads” and replace with “https://uploads.domain.com/myuploads/” for all instances then save that file, leave the other alone as a backup in case you mess up. Then import the edited in to your data base. Make sure your sql dump will drop tables and create tables.
Forum: Fixing WordPress
In reply to: logo running into menu itemsLook at like 513 of skin.css it is forcing your image to be with 380px; I would just remove the whole
.ie_png { width: 380px; }
from the code or remove the class ie_png for the image it’s self
Forum: Fixing WordPress
In reply to: How to change CSS of my custom menuYeah that worked but you need to do something about your hover state. The hover has a black background and now the text is black also so try this
#menu-pages li.current_page_item a, #menu-pages li.current_page_item:hover { color:#000; background-color:#8F7A74; }
Forum: Fixing WordPress
In reply to: How to change CSS of my custom menuin the css add this:
#menu-pages li.current_page_item a { color:#000; }
Well that is unfortunate that wordpress does not change the old uploads urls in the database to the new url when changing the site url. It should but I guess I will just keep having to use notepad++ to do a find and replace. I do get around a lot of the hassle with urls I build into the template with to simple lines of code
$imgPath = "https://domain.com/wp-content/themes/MyTemplate/_gfx/";
$scriptPath = "https://domain.com//wp-content/themes/MyTemplate/_global/";
Note: _gfx and _global are custom and not build into wordpress. They are folders I make in my themes that hold the chrome of the site.
Then you just echo the variable and image or script name. Look something like this:
<img src="<?php echo $imgPath; ?>logo.jpg" />
<script src="<?php echo $scriptPath; ?>jq.1.10.2.js" type="text/javascript"></script>
This way when I flip the switch and make the site live I only need to change two urls in the functions.php and all my img and script paths built into the template are correct.
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsIt is possible but you would need to know some javascript, html and css.
There are many ways to do this as in any type of coding project but what I would do is use the javascirpt to stop the anchor of contributors from leaving the page then have it fade in or make the the dropdown menu appear instantly. In the template you would addwp_get_author(array('name' => 'author'));
in the same div or element that holds the nav. In the css you would have to make the div or element that holds the nav position relative, then make the dropdown position absolute and position it to be under the contributors link with top and left or right and display:none.Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsForum: Plugins
In reply to: Author dropdown with link to author page functionality like wp_get_archivesSorry I just reposted this in the Hack section, little confusing have a “Plugins and Hacks” and a “Hacks” but this should just be hacks. Feel free to remove.