Forum Replies Created

Viewing 15 replies - 46 through 60 (of 73 total)
  • Thread Starter savedave

    (@savedave)

    Hi Paul.

    Thanks – yes I have nailed that and appreciate your advice. What I am now hoping to do is to resolve where the images are displayed. Currently I set gallery to link directly to the media file. I’d rather not do this but I find the nature of the page they display in if I let them link to the attachment page, is quite ugly. Lots of metadata, massive header etc.

    Is there a bit of css I can alter to allow me to edit this type of page? I am not sure the name of this type of page to find it in the style.css. Is it in Attachments? I can find this bit of code but not sure how to alter it in my child theme to make it do what I want – which is no metadata and smaller h1 title.

    /* =Attachments
    ----------------------------------------------- */
    
    .image-attachment div.attachment {
    	background: #f9f9f9;
    	border: 1px solid #ddd;
    	border-width: 1px 0;
    	margin: 0 -8.9% 1.625em;
    	overflow: hidden;
    	padding: 1.625em 1.625em 0;
    	text-align: center;
    }
    .image-attachment div.attachment img {
    	display: block;
    	height: auto;
    	margin: 0 auto 1.625em;
    	max-width: 100%;
    }
    .image-attachment div.attachment a img {
    	border-color: #f9f9f9;
    }
    .image-attachment div.attachment a:focus img,
    .image-attachment div.attachment a:hover img,
    .image-attachment div.attachment a:active img {
    	border-color: #ddd;
    	background: #fff;
    }
    .image-attachment .entry-caption p {
    	font-size: 10px;
    	letter-spacing: 0.1em;
    	line-height: 2.6em;
    	margin: 0 0 2.6em;
    	text-transform: uppercase;
    }

    Thanks so much.

    Thread Starter savedave

    (@savedave)

    Krishna. I appreciate your help but the links seem to require a degree of technical expertise beyond mine!

    Thread Starter savedave

    (@savedave)

    I see now that I can alter the timestamp via the ‘publish’ tab. I am going through it the manual way. Might be long winded but at least it’s simple.

    Thread Starter savedave

    (@savedave)

    Maybe at this point it would be simpler just to cut and paste the entries. There are only about 30 or so. I might have to check the links work but other than that it would be ok.

    The only issue I can foresee would be the metadata – the date posted for each one – is it possible to alter the metadata regarding post dates?

    Thread Starter savedave

    (@savedave)

    Hi WPyogi

    Yeah that might have been a good idea – wish I thought of that before I had built the entire rest of the site! I feel like it’s too late now.

    Also I wanted to change the domain anyway and was concerned that doing that might screw things up.

    Any thoughts given where I am now?

    Thread Starter savedave

    (@savedave)

    Incidentally, when I just use the code [gallery ids="249,236,235,234,233,232"] as I have done in the test version on the page, the linked order is still incorrect. It is at least only using images from this page now, but not in the same order as they appear in the gallery.

    Thread Starter savedave

    (@savedave)

    Hi

    thanks for this – sorry it took me a while to understand. I have it now by using the code: [gallery link="file" gallery ids="249,236,235,234,233,232"]

    At the moment I have set it to just link to the file. It’s not really what I want. In an ideal world I would like them to open in a web page but not the messy looking one with metadata that they seemed to be opening.

    Do you know what I can add to style.css to tidy up that page. I would like to remove the meta data and reduce the size of the page title.

    thanks so much for your help.

    SD

    Thread Starter savedave

    (@savedave)

    Hi there

    I tried what you have suggested. Making sure everything is linked to only that one page has helped somewhat, and now the gallery items all stay together. But using just the short code you have suggested I do not know how to order the gallery – you said it’s the same as pre-3.5 but I am pretty new to WP so don’t know what that means.

    And it still links to a messy ‘post’ page, with meta data and oversized page title etc rather than just to the file. I’d like to either link directly to the file, the same as if you add an image in a page, or I would be happy with the same type of post page as is currently happening if I could remove the metadata and reduce the size of the page name (without affecting other pages).

    Thanks kindly

    SD

    Thread Starter savedave

    (@savedave)

    That works a treat! Thanks Andrew!

    Thread Starter savedave

    (@savedave)

    thanks – i will give this a try

    Thread Starter savedave

    (@savedave)

    Thanks for this – I have had a browse of the links you have kindly provided. It does seem scarily technical for a relative newb like me. Is there a simpler way?

    Thread Starter savedave

    (@savedave)

    You see I am basically not a coder and didn’t realise I’d need to be when I embarked on this!

    I’m not even sure if the order I enter things in my child theme style.css matters (does it?)

    thanks for helping this idiot fumble his way through a website for his film!

    Thread Starter savedave

    (@savedave)

    Thanks – that’s really intersting – I will take a look around using this. I can see from the sreen grab that in the example you have highlighted, that it is telling me I am in h1, and that there is a padding beneath.

    In the window below, is the code above the h1 text referring to it – it says padding bottom: 4px.

    My problem is that even if that is the code that is relevant, I am not really sure what I would need to enter into the style sheet to alter it.

    If I was editing directly into the twenty eleven them I would go to that point in the code and change 4 to maybe 1. But as I need to change it in the child theme, I am not sure exactly what code to enter to do this – is it something like:

    h1 {
     padding-bottom: 1em;
    }

    Also, can you let me know if making changes to the theme should make typing in the visual editor appear more like it will in the published site? Currently the changes I have made to the paragraph margins do not make a difference in the visual editor, and so I am sure that my fellow site authors will end up getting their spacings all wrong!

    Thread Starter savedave

    (@savedave)

    I’m really sorry – I am struggling to understand how to use that tool for this purpose.

    I think I now know exactly what I am asking for though:

    I would like to reduce the line spacing and bottom margins in my h1,h2 and h3 headers. I may also need to reduce the top margin in my paragraphs.

    I have created a child theme style sheet but cannot work out what code I need to place in it and where.

    Are you able to advise me on what code I would need to alter?

    My site again is https://www.nadaav.com/soundasleep.

    thanks kindly

    Thread Starter savedave

    (@savedave)

    Also I can’t see how that tool would help me in terms of correcting the spacing inside the visual editor – the spacing is currently showing just as it was BEFORE I made the bottom margin change you recommended

Viewing 15 replies - 46 through 60 (of 73 total)