macwana

Member

Forum Replies Created

  • In reply to: How to write a line of text in the footer?

    #25939

    Thanks Kenneth, that was a great reference. I got it to work!

    I ended up placing a text widget within the “graphene_footer” action hook, and using the “padding” style to position the text, as so:

    <div style="padding: 37px 0px 0px 0px;">Sample Text Widget On Graphene-Footer Action Hook</div>

    You can see the result in the footer of the page at: http://www.ashishmacwan.com

    By the way, is it a good idea to use “padding”? Is there another, preferred option?

    In reply to: How to write a line of text in the footer?

    #25937

    Thanks for your response, Prasanna. This is my first time creating a website and I’m still learning things from scratch. Could you explain what you mean by a copyright “action hook” and “custom CSS”? Thanks.

    In reply to: How to link to different positions within a page?

    #22259

    Thanks, Kenneth and Josh, for your help; I got the links to work properly. After a little trial-and-error, it turns out that the correct way to write the HTML code to reference a particular line on another page turned out to be:

    <a href="http://www.myWebsite.com/BibliographyPage.#ref>Read this paper</a>

    Apparently, I don’t need to include the “.html”. In fact it doesn’t work if I include it. Anyway, thanks again.

    P.S. What does “YMMV” mean?

    In reply to: Trouble placing captioned images side-by-side

    #21505

    Thanks for the suggestion, Kenneth. I gave it a try, but unfortunately, no luck – it just stacks the two figures vertically again. Just to make sure I did it correctly, the following is the modified HTML code:

    Text Line 1.

    <div style="margin:auto;">
    [caption id="attachment_203" align="alignnone" width="300" caption="Fig. 1. Sample Caption #1"]<a href="http://www.ashishmacwan.com/wp-content/uploads/2011/11/SampleImage1.png"><img title="SampleImage#1" src="http://www.ashishmacwan.com/wp-content/uploads/2011/11/SampleImage1-300x253.png" alt="" /></a>[/caption]
    </div>

    <div style="margin:auto;">
    [caption id="attachment_204" align="alignnone" width="300" caption="Fig. 2. Sample Caption #2"]<a href="http://www.ashishmacwan.com/wp-content/uploads/2011/11/SampleImage2.png"><img title="SampleImage#2" src="http://www.ashishmacwan.com/wp-content/uploads/2011/11/SampleImage2-300x253.png" alt="" /></a>[/caption]
    </div>
    <div style="clear:both;"></div>

    Text Line 2.

    With regards to “clearing the floats” by adding ‘<div style=”clear:both;”></div>’ after the caption, I recall that I did include it orginally. But I discovered that it only remains there as long as I stay in html mode. If I switch to the “Visual” option in Dashboard, and then switch back to “HTML”, I notice that this addition is automatically removed. That would explain why the text was still flowing around the images.

    I’ve come up with two alternative solutions which are not exactly what I want, but close enough. My first alternative is to align the first figure with “alignleft”, and the second with “alignright”, make both figures a little larger, and clear the floats at the end. This creates the illusion of 2 figures, side-by-side, and centered horizontally, more-or-less; you can see the result here:

    http://www.ashishmacwan.com/sample-category/sample-sub-category

    The second solution is to use this theme’s “Gallery” option. It’s an almost-perfect solution: it displays the two images side-by-side, and centered horizontally, but presents the images in “thumbnail view”. As a result both images are very small, and you have to click on them to enlarge them. You can see the result here:

    http://www.ashishmacwan.com/sample-category/sample-sub-category-2

    Is there any way to make the images larger in the thumbnail view itself? I couldn’t see any such option.

    In reply to: Trouble placing captioned images side-by-side

    #21502

    Kenneth, I modified the html code as per your suggestion. Changing the figure alignment to “alignleft” does allow both figures to be placed side-by-side with captions, however, it is left-justified, whereas I wanted them to be centered. You can see the result here:

    http://www.ashishmacwan.com/sample-category/sample-sub-category

    Also, with this alignment, any text will flow around the figures, as you can see in the above link (the text “Text Line 2” sits beside the second image). I thought I might try manually entering indents on the left to push both figures to the center, but it just pushes the image; the caption doesn’t move with it.

    I also tried changing the alignment to “aligncenter”, but that just causes the figures to stack vertically again.

    Any other thoughts?

    P.S.: What is Firebug, exactly? Does it work as plugin that still allows me to use the WordPress Dashboard, but with added editing functionality?

    In reply to: How to remove permalink on page titles?

    #20989

    Thanks a lot, Josh. That worked.

    In reply to: How to remove permalink on page titles?

    #20987

    Kenneth, thanks for your reply. I actually want to disable linking the header title (as well as the “header image” – not sure if this means the same as “title”) to the front page. So I left the box marked “Link header image to front page” unchecked. However, it does not seem to have any effect on the title in the header – clicking on the title still links to the front page.

    In reply to: How to remove permalink on page titles?

    #20985

    Thank you for your help guys.

    Josh, I tried your suggestion just now and it worked just fine – no unintended side-effects that I’ve noticed.

    One more thing, if you don’t mind. I just realized that the title in the header (which currently says “My Website” on my webpage) is also a link. Anyway to disable that as well?

Viewing 8 posts - 1 through 8 (of 8 total)

Graphene Themes Forum