Kraignos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Nivo Slider Inserts Blank Image in SlideshowBullets disappeared because of this option in the JS:
$('#slider').nivoSlider({ ..., ..., controlNav: false, ... });
Set it to
true
should make the nav come back.Forum: Fixing WordPress
In reply to: Hide Alt Title on Thumbnail MouseoverYep, very straightforward ??
Be aware though, that as this is javascript based, people who turned Javascript off in their browser config will still see the titles on rollover. Don’t have the stats but it shouldn’t be a bunch of people…Forum: Themes and Templates
In reply to: Need help with fixing header and footerOh right you made the changes. Great !
I’ll stay tuned if you have any other question ??Forum: Themes and Templates
In reply to: Need help with fixing header and footerTime for me to go to sleep. I’ll come back to check this topic tomorrow, but it should look like the screenshot now ??
Forum: Themes and Templates
In reply to: Need help with fixing header and footerYep, you missed some updates :
style.css, around line 48, #wrapper : change the width to 700px;
style.css, around line 135, .post : change the width to 400px;Thought I’d include the header.php too.
Try this one. https://pastebin.com/LyZzr7nB
I didn’t make big changes, but you forgot to add the missing <body> starting tag…
I also removed the two<br />
at the end.Forum: Themes and Templates
In reply to: Need help with fixing header and footerYes, because there’s still an import of the file prosalamander.com/dev/wp-content/themes/ub_modicus2c/style.php in your
<head>...</head>
tag :
<link type="text/css" rel="stylesheet" href="https://prosalamander.com/dev/wp-content/themes/ub_modicus2c/style.php">
I don’t think you’ll find it hard-written in the header, might be added by the theme with some hook…Analyzing the code you pasted, this style.php is meant to overwrite some css rules with some options managed in the admin panel. Did you see something related in your admin?
Anyway, if you wanna get rid of it, you can finish all this by editing style.php and put all the code into comments. Replace the first line of the file :<?php
with
<?php /*
and the last line
?>
with
*/ ?>
Forum: Themes and Templates
In reply to: Need help with fixing header and footerForum: Fixing WordPress
In reply to: Nivo Slider Inserts Blank Image in Slideshowhmmm I think I got it. In your HTML code, there’s a link to your home, around your logo and another one under the navigation menu.
<a href="https://www.labratsstudio.com/">...</a>
Until here, it’s okay.But then, right after this menu, there’s another link opening tag, then a lot of commented code, and finally…. no
</a>
closing tag.
Invalid html markup can result in wrong browser rendering. Mind validate your site some times -> https://validator.w3.org/But for the moment, finding this opening link tag and remove it will do the trick. Might be in the header.php file of your theme I guess.
Forum: Fixing WordPress
In reply to: Nivo Slider Inserts Blank Image in SlideshowYeah your code is correct and your js call to
nivoSlider()
too.
There’s no way to add an html tag with CSS.Let me investigate a little more…
Forum: Themes and Templates
In reply to: [Attention bar] How do you change the color…Hi,
Are you talking about this one? https://modernpreneur.com/wp-content/plugins/attention-bar/css/images/attentionbar-open-arrow.png
In your CSS, change this:
.attentionbar-open-button.long-arrow { background: url("images/attentionbar-open-arrow.png") no-repeat scroll center center transparent; }
to this :
.attentionbar-open-button.long-arrow { background: url("images/attentionbar-open-arrow.png") no-repeat scroll center center #FFF; }
Forum: Themes and Templates
In reply to: width value overwritten in style.css fileEither you uploaded the wrong file by mistake, or did you try to clear your browser cache?
Forum: Themes and Templates
In reply to: Sidebar – widget adding cssDo you have any function called register_sidebar() in the file functions.php of your theme? If so, check this reference, there are two arguments, “before_widget”, and “after_widget” which allow you to change the markup surrounding every widget added in this sidebar.
https://codex.www.ads-software.com/Function_Reference/register_sidebar#Parameters
Forum: Fixing WordPress
In reply to: Nivo Slider Inserts Blank Image in Slideshowhmm Can you paste the html code for your
<div id="slider" ... </div>
?The Nivo documentation says only images or images within a link are allowed, and inspecting your slider with Firebug reveals the first tag in your
<div id="slider">
is a link to the homepage but without image tag inside. Maybe it comes from here…. My guess is that the plugin will be expecting an image, but won’t find any, resulting in your broken link “https://www.labratsstudio.com/undefined”Forum: Themes and Templates
In reply to: Need help with fixing header and footerhmmmm add this to the css class .post{} :
float: left; width: 500px;
and remove the
margin-right
I told you to add.Did you create this file : https://prosalamander.com/dev/wp-content/themes/ub_modicus2c/style.php ? or was it here before? Could you paste its content to pastebin ? Just wanna check smthg… And meanwhile let’s finish this !!! We’re gonna merge style.php and style.css, cause there’s some duplicates.
So, in style.css,
-> line 62, body : change the rule ‘font’ to :font: 62.5%/200% Helvetica,Arial,sans-serif;
-> line 48, # wrapper : change the
width
to 700px;-> We won’t move .post & #sidebar rules, because some of these rules are either useless, or we already defined them before. So tell’em “hasta la vista” ^^
AAAAAAAAAAAAAAAAAAAAAAAAND the last thing. Remove the import of style.php in your
<head></head>
tag, as we don’t need it anymore and it overrides some rules in styles.cssNow this should look like the screenshot you gave in your first post.
Tell me if it doesn’t ??
Forum: Themes and Templates
In reply to: Need help with fixing header and footerstyle.css line 72: replace everything in #sidebar{…} with:
#sidebar { /* make the sidebar stick to the right */ float: right; width: 250px; padding-bottom: 25px; text-align: left; color: #FF0000; }
style.css line 132 : replace everything in .post{…} with:
.post { text-align: justify; /* leave some space on the right to the floating sidebar. Width of div#sidebar MINIMUM (250px) else the sidebar won't find enough place to display and will be rendered under div.post */ margin-right: 280px; }
add these lines to reset the float so the footer show under post and sidebar :
#footer{ /* reset any float: left and float: right */ clear:both; }
Also, is there anyway I can cut the gap between the logo and navigation bar.
Yes, style.css line 55 in #header{…}, the width is at 150px, set it to something around 100px instead.
Is there a way I could put the nav bar’s CSS in the main CSS without messing anything up? I’ve tried a few times.
hmmm don’t know why it doesn’t work. Try it again, even if it messes things up, I’ll tell you why and how to fix this.
Tried to put a space under the nav bar too and that didn’t work. What should I do?
yeah that’s because the
<a>
tags in your menu have a float: left. You could delete it, but it will force you to redesign your entire menu.
So the quick fix is :
margin-top: NNpx;
in .post{…} line 132. NN is any number you want. this will push the post this amount of pixels below the nav.Well, we made some progress. Let’s see what’s the result.