Forum Replies Created

Viewing 15 replies - 136 through 150 (of 189 total)
  • Thread Starter 5high

    (@5high)

    Thanks for your help – unfortuneately it doesn’t work.

    I’ve tries your suggested code with all variations of the button like: +/- a container, a float, in-line block and all various combinations too.

    Also tried the above changes with the css code

    .maxbutton-3 {
      text-align: right;
    }

    which doesn’t work either.

    And I’ve tried placing the button in various positions within the page text too, with the various combinations… I’m obviously missing something here!

    I’m currently working on a development site,so you can see the button placement here: http://trevorpenfold.com/testing/

    Thanks for your time.

    Thread Starter 5high

    (@5high)

    Thanks for your help johnbhartley – I’ve had a look at various 2012 page and template files but can’t find what you mentioned, plus i think the php edits are a bit beyond me at present.

    I think my best option is to keep the page and post titles in and sit the button in the page content area on the right at the star of the required pages. The problem i have with this is that I’d need the text to wrap around it – which I can’t seem to do. Any ideas?

    Otherwise i think I’ll have to just make up an ‘image’ of it, with a link, so I can make use of the text wrap in the image editing bit. And i’ll still use the buttons elsewhere on the site, but perhaps in a sidebar widget.

    Cheers.

    Thread Starter 5high

    (@5high)

    Hi again,

    I’ve explored this further and think I’m asking the impossible!

    So instead, is it possible to insert the max-button short-code in Edit Page > in the Page Title text area?? – with it aligned to the right? I presume I’d need to put some html around it, and have tried this:

    <display:inline-block><div align="right"> [maxbutton id="3"] </div></div>

    which does push it to the right, but of course only shows the short-code.

    I realise that I can easily do the same by adding it as usual in the Page first line with ‘heading 1’ formatting applied – which works great, especially as I want to remove the ‘.entry-header’ area entirely, except until it’s showing Post Excerpts (which need the Post Title)… So ideally I need to retain the Page and Post titles, and instead remove any first headings in a page/post – so my idea of inserting a button in a page title area!

    Any suggestions please?

    Many thanks.

    Thread Starter 5high

    (@5high)

    Sorry, I don’t know why my links fail to show here – I’ll try again…
    http://www.trevorpenfold.com
    Cheers.

    Thread Starter 5high

    (@5high)

    Thanks ryanmk54, I might revisit this option at a later date if our new design idea doesn’t work – so still really useful – thanks! Though i think we’re after something a bit different – i was trying to change the actual content areas to a different colour to that of the #page and #masthead and #colophon background colour, but it’s a bit fiddly as you have to find all the bits between the content areas too, so it shows as a content block colour – my previous 2011 child theme has it and you can see it here:

    But the transparent option for the page div etc works briliantly,and i might end up using that instaed…

    Cheers.

    Thread Starter 5high

    (@5high)

    Hi again,

    I’ve explored this further and think I’m asking the impossible!

    So instead, is it possible to insert the max-button short-code in Edit Page > in the Page Title text area?? – with it aligned to the right? I presume I’d need to put some html around it, and have tried this:

    <display:inline-block><div align="right"> [maxbutton id="3"] </div></div>

    which does push it to the right, but of course only shows the short-code.

    Any suggestions please?

    Many thanks.

    Thread Starter 5high

    (@5high)

    Thanks so much for your patient explanation – getting to grips with it now and feeling more confident of “taming it” in my child theme!

    Much appreciated!

    Thread Starter 5high

    (@5high)

    As proving too tricky and no replies, have moved on to other design ideas – so finished but not resolved!

    Thread Starter 5high

    (@5high)

    Hi gabriel,

    Thanks for your reply. Unfortunately I find the codex for this really hard to grasp – I understand that I’d put the code in the child functions.php file (or should it be in the header.php??) but don’t know how to configure it to call up a specific image.

    Probably pretty basic stuff, but I’m a real newbie with php, so if you can be more specific that’d be great.

    Cheers.

    Thread Starter 5high

    (@5high)

    Thanks paulwpxp, great clear explanation! Just one final thing – what is the difference between the .site and the #page, as they appear to affect the same thing?
    Cheers.

    Thread Starter 5high

    (@5high)

    Hi paulwpxp,

    Thanks for the info. I spent ages working through various tutorials like the HolyGrail one to understand it.

    Don’t suppose you know of a similar tutorial for 2012 theme, so I can really understand how the floats work, and which bit sits inside of another, or is dependent on another, as that’s what I can’t understand yet? Or perhaps some codex that lists what each div etc does in 2012??

    Cheers.

    Thread Starter 5high

    (@5high)

    Hi,
    Just thought I’d give some feedback in case anyone’s interested for twentytwelve child theme as well, I’ve fiddled around with different variables and found that this definitely works fine, in a child footer.php file:

    </div><!-- #main .wrapper -->
    	<footer id="colophon" role="contentinfo">
    		<div class="site-info">
    			<?php do_action( 'twentytwelve_credits' ); ?>
    			<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ) .'"target="_blank"'; ?>" title="<?php esc_attr_e( 'Wordpress Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    </div><!-- #page -->

    though I’ve changed some of the wording, as I prefer it to the original.
    Cheers.

    Thread Starter 5high

    (@5high)

    Thanks for your reply Paulwpxp,

    I think I understand the basics of responsive design and think it’s really essential, though I don’t know much about how this impact design for mobile devices yet – but keen to learn.

    I’ve spent a few hours reading different forum threads (and am already working with my own child theme for twentytwelve) and none really tackle this issue. So what I can’t get my head around is how they relate…

    ie; in 2011 theme:
    – the primary is the page width with a negative margin to float it off the left-hand side,
    – then the content area was 100% and held everything else in the primary page, like the container (in % and a margin to allow for a sidebar) + sidebar area,
    – when added together (the container + sidebar area) was > 100%, and this gave the %age for the primary margin, so it didn’t get pushed out of the container.

    So, all good, but in 2012 theme, I seem to have to change both .site and #page to affect a change of width, and I can’t find its negative margin either. So that’s why I’m finding it hard to relate to I guess.

    So any pointers would be really helpful, especially relating to the responsive box model like in 2011 theme.

    Many thanks.

    Thread Starter 5high

    (@5high)

    Ok, not sure why my site links didn’t show, so I’ll try again…
    my live test site = (= http://trevorpenfold.com/testing/)
    the old/current site = (= http://trevorpenfold.com)
    Thanks.

    Thread Starter 5high

    (@5high)

    Hi Galen,

    Brilliant idea – I might go back and try it when I have a mo, though of course at present nothing shows as I’ve eliminated via my css. But definitely a much quicker and more straight-forward solution!! Thanks for your input.

    Cheers.

Viewing 15 replies - 136 through 150 (of 189 total)