Jump to content

mbaldw

Members
  • Content count

    23
  • Joined

  • Last visited

  1. Thanks Graham. I went for the quicker option of installing and previewing a couple of themes, but it didn't really work. When I preview all I get is the home page with a "fatal error" code (presumably because of the menus/widgets). The main link at the top works, but despite implying that it's previewing in the chosen theme seems to re-load the site in the existing theme - the page looks identical to the current theme (including the menus), so I suspect it isn't previewing properly. I will try installing a theme when I get home, but need to spend some time working out how the menus are configured (the web designer did that when she set the current theme up) to ensure I can reconfigure them after the install. Out of interest, forgive my perpetual ignorance, but if the [caption] tag in the code sets the caption width at 501 and the image width at 501 (as in the example above), isn't it going to display the same in any theme? Or does changing the theme re-write the code on all the pages to account for the padding when displaying the caption? The full caption section of the CSS shows: /***************** Caption ******************/ .cmsms_img { display: inline-block; max-width: 100%; } .cmsms_img.cmsms_image_l { float: left; margin-right: 20px; } .cmsms_img.cmsms_image_r { float: right; margin-left: 20px; } .cmsms_img.with_caption { padding: 20px 20px 0 20px; border-width: 1px; border-style: solid; -webkit-border-radius: 3px; border-radius: 3px; } .cmsms_img .cmsms_img_caption { text-align: center; padding: 15px 0; font-size: 14px; line-height: 20px; } .aligncenter { text-align: center; } .wp-caption { -webkit-border-radius: 3px; border-radius: 3px; border-width: 1px; border-style: solid; padding: 20px 20px 0; margin-bottom: 20px; } .wp-caption.aligncenter { margin-left: auto; margin-right: auto; } .wp-caption.alignleft { margin-right: 20px; } .wp-caption.alignright { margin-left: 20px; } .wp-caption a { display: block; } .wp-caption .wp-caption-text { padding: 15px 0; text-align: center; } If we assume 20px padding is being added to the image, I would've thought the caption width should be set at 550 to accommodate 20 either side of an image that's 510 wide. Or doesn't it work like that? Cheers, Marc.
  2. Thanks. As you point out, the editor is there and the caption section shows: .wp-caption { -webkit-border-radius: 3px; border-radius: 3px; border-width: 1px; border-style: solid; padding: 20px 20px 0; margin-bottom: 20px; Is there anything in there that might explain the theme's behaviour? Presumably I should find a back-up widget and back the existing content up before I switch themes?
  3. Thanks Graham. I did wonder if it was the theme again. I've been through all the settings in the wp-admin console and there's no option to edit the CSS that I can see, so presumably that's not an option in this particular theme. I can see Appearance > Custom CSS, but this will presumably cause a conflict if I add the code here and it's already mentioned somewhere behind the scenes too? The size issue happens with or without the span, but it would be handy if I could set this centrally so I didn't have to change it each time. For the time being, I'll just leave the caption formatting empty and carry on with the content. I'll then look at updating the theme and CSS. ​Cheers, Marc.
  4. Morning guys, as I'm slowly making progress migrating my content to WordPress I've noticed a curious (read: annoying) "feature" whereby images are resized when captions are used. For example, I have an image that's 501x369 that I've inserted into an article. Without a caption it displays at full size. When I add a caption, however, WP makes the caption 501 wide and therefore resizes the image. In the code I see: [caption id=attachment_4298" align="alignleft" width="501]<img class="size-full wp-image-4298" src="http://www.wildlifeonline.me.uk/wlol_wordpress/wp-content/uploads/2017/10/sarcoptes_mite_scraping.jpg" alt="Sarcoptes scabei mite." width="501" height="369" /> <span style="color: #0000ff;">Scabies mite (<i>Sarcoptes scabiei</i>) in skin scraping.</span>[/caption] If I try manually increasing the caption width, WP simply puts it back to 501. I can't find any obvious way of changing this in the "Add Media" settings, so I presume this is managed somewhere else. Any thoughts? Cheers, Marc.
  5. Moving a site live

    Thanks Graham. That's a relief!
  6. Hi folks, as some of you know I've recently been trying to migrate my old site to a WordPress platform and it's progressing much more smoothly now thanks to the advice I've received on here. I do, however, have a question about what happens when it finally comes to making it live. Currently I've created a subdirectory and am building the site in that, which I'm led to understand is fairly common practice so as not to interfere with the existing site. Within my pages there are a good many back-links to other articles/pages that currently contain a subdirectory that won't exist when the site is moved to the main domain directory. Am I right in thinking that I will need to go back through all the pages and correct those links before I migrate the site? Cheers, ​Marc.
  7. Use of Accordion Elements

    Thanks dap (for the help and comments on my content). At the moment I'm working on getting all the content up, then I'll go back to the formatting. I'll have a go with Verdana and Georgia as fonts. Cheers, MB.
  8. Use of Accordion Elements

    Thanks Grant. I suspect you're right about the colours. The menu has also started screwing up (hanging at the top all of a sudden), so at the moment I'm just working on uploading the content and will then sort out the theme. While I'm at it, does anyone know why the table about one-third of the way down this page isn't central, despite the code suggesting it should be? QA on Deer Antlers Cheers, Marc.
  9. Use of Accordion Elements

    Works for me. It'll be during the (hopefully early, depending on the traffic home) afternoon, so let me know if any time in particular works better for you. I've had a look on your profile and can't see a number. Not sure if it's because I'm new so have some restrictions on my account until I've made 25 posts. Cheers, Marc.
  10. Use of Accordion Elements

    Thanks fisicx, will do. I'm about to head out so it would either need to be late this evening (i.e. ~21:30) or Sunday. Does either work better for you? Cheers, Marc.
  11. Use of Accordion Elements

    Thanks for that BrowserBugs - very helpful. Since doing this I've found myself noticing text size and spacing on website I visit, never having apparently paid attention before! Do you have an opinion on a structure for the very long articles? Single page, or structured more like you proposed for the QAs? The accordion idea has been binned Cheers, ​Marc.
  12. Use of Accordion Elements

    Thanks fisicx. I didn't notice an option for rem/em in the theme settings, but will have a look once the content's up. Two more questions, though: 1. Is the word spacing along the line (i.e. max 14 words) something I should be able to set within the theme config? I've yet to find anything that looks right for doing this, but that could be a reflection of the chosen theme as much as my lack of knowledge. 2. Do you have any recommendations for the long natural history articles in terms of their formatting? The red fox article, for example, is 155 pages without images. Do you think I'm best keeping this as a single (long) page? Or should this be split into its respective sections as I'm doing with the QAs? Many thanks....again! p.s. You'll be pleased to know that I'm away for a few days from Thursday, offering you guys some respite
  13. Use of Accordion Elements

    Thanks dap. It turned out to be a cache issue. Clearing the browsing data resolved it. I'm changing the font size in the theme editor, fisicx, so it is being applied across all the pages. Thanks of the additional suggestions, I'll have a look at those. Cheers, Marc.
  14. Use of Accordion Elements

    Thanks. I did wonder about the font size. I changed it to 16px, because that's what I'd read most web browsers default to. This isn't well replicated between browsers, though. In Chrome changing the font size in the theme config makes little appreciable difference to how the page renders, while it is significantly different in edge: Chrome: Edge: Page: Q: Do foxes and badgers bury their dead? A font size of 16px looks comfortable to me, but I notice it's still well above the requirement you suggest. Making it any larger would look odd, I think, so presumably the only option is to reduce the width, thereby lengthening the pages? Cheers, Marc.
  15. Use of Accordion Elements

    Yes, that makes sense. I was hoping there might be a way to add a background colour to the footer as was done with the widget in the main page code, but it doesn't seem to be an option in the theme's menu configuration. I guess that could be theme-specific, though. Anyway, I'll persevere with the content upload and structure now and worry about tweaking the appearance later. Cheers, ​Marc.
×