mrkred
Forum Replies Created
-
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Quiz not workingHave you overwritten any templates? Which I think @creativeartbd is referring to.
I was having the same issue. Disabled my template override (single/quiz/body.php) in my theme and it works. Not sure why this would make a difference as they are both version 1.5.7, so it looks like that template has been changed.
Hope this helps.
Cheers
Hi @anim07,
I wanted to add courses that the student was enrolled onto (not just completed) and their company/organisation, which is captured via a customised registration form and added to wp_usermeta table.
Cheers
Forum: Fixing WordPress
In reply to: Font size for headerThe #FFF was just an example. What colour do you actually want the header to be? Transparent is not a colour and as you have said will show the colour beneath it, which in this case appears to be #3a2109 for the .site class.
The easiest way to give your header the required colour is to set the background-color for the #hgroup-wrap. eg black, pink, #FFF, #000, etc.
Forum: Fixing WordPress
In reply to: wp_enqueue_script not workingI had a problem with registering scripts recently. It turned out to be the ‘get_template_directory_uri()’ part of the function. That is giving the location of the parent theme.
Try replacing with ‘get_stylesheet_directory_uri()’, which is relative to the child theme.
Forum: Fixing WordPress
In reply to: Font size for headerBecause your site title has a link on it you need to remove or change the font size for the html a tag as below
#site-title a { color: #000; font-size: 16px; /* Or remove */ text-decoration: none; }
I also notice that you have multiple instances of font size for #site-title
#site-title { font-size: 5rem; } #site-title { font-size: 26px; font-weight: bold; line-height: 1.4; text-shadow: 1px 1px #e6e6e6; } #site-title { font-size: 30px; }
Delete these and use the following instead
#site-title { font-size: 16px; font-weight: bold; line-height: 1.4; text-shadow: 1px 1px #e6e6e6; }
As for the background colour, change that to the actual colour that you require. eg background-color: #FFF
Forum: Fixing WordPress
In reply to: Move Site Title to End of Page Title?Not sure about the plugin, but putting something like the following code in header.php might work
<title><?php wp_title('|', true, 'right'); // Show page title with a pipe separator to the right bloginfo('name'); // Add the blog/website name. ?></title>
However, if you are not comfortable with editing theme files it might be advisable to look into Child Themes as somewhere to start.
Forum: Fixing WordPress
In reply to: Aligning social media with site title in headerIf you have simply replicated the parent theme css, try adding margin-top: -70px to #header-icons in your child theme css.
#header-icons { display: inline; float: right; margin-top: -70px; padding-left: 15px; width: 300px; }
Forum: Fixing WordPress
In reply to: Adding image at beginning of line-break in loopAre you referring to the band/artist names? If so, could you not put the post titles into an inline list and set the snowflakes as the bullets in css?
Something along the lines of;
<?php if (have_posts()) : ?> <ul> <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Wrong image size rendering in img tagThat was my initial thought, but the images are actually being uploaded at the correct width of 650px. But, the dimensions in Insert Media are still showing ‘Size Large – option 640 x ???’ and ‘width=640’ is also being placed in the html img tag, which is messing the wp-caption up.
I can fix it with css, but this should work out of the box. It’s as if the 640 has been stored somewhere in mysql, but the only instances that I can find are the images in the posts table, which, as you refer to, were uploaded before the size change.
I’m probably missing something simple here. It’s driving me mad. I can’t figure out why these settings are still in place.