Forum Replies Created

Viewing 15 replies - 16 through 30 (of 125 total)
  • Forum: Fixing WordPress
    In reply to: Mobile Friendly
    Thread Starter mrmccarrin

    (@mrmccarrin)

    Thank you both for your help!! I am temporarily using Jetpack mobile because it allows me to add a contact form untill I can build a responsive theme.

    Forum: Fixing WordPress
    In reply to: Mobile Friendly
    Thread Starter mrmccarrin

    (@mrmccarrin)

    Thank you! However, I tried this plug in and I really don’t understand how anyone uses it because it does not carry over contact form seven. When I use this plug in, my contact page is blank.

    Thread Starter mrmccarrin

    (@mrmccarrin)

    I built it through

    https://themeshaper.com/2009/06/22/wordpress-themes-templates-tutorial/

    which is great, but I can’t figure out how to make it work mobily.

    Thread Starter mrmccarrin

    (@mrmccarrin)

    I do not. I made the theme from scratch. I did add a custom css plugin because I wanted to experiment with something, but that is it.

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Ok – Unfortunately, I do not have any code like such on my site. That may work because half my content gets cut off on my other three pages on mobile devices.

    I guess my header is the most important. Does that make a difference in the way I write this?

    I apologize, I do not really understand how to do this or how to get started, so any help would be greatly appreciated.

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Ok thank you. This is the css I have for media. What do you think?

    /* =Media
    ----------------------------------------------- */
    
    .site-header img,
    .entry-content img,
    .comment-content img,
    .widget img {
        max-width: 100%; /* Fluid images for posts, comments, and widgets */
    }
    .site-header img,
    .entry-content img,
    img[class*="align"],
    img[class*="wp-image-"] {
        height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
    }
    .site-header img,
    .entry-content img,
    img.size-full {
        max-width: 100%;
        width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
    }
    .entry-content img.wp-smiley,
    .comment-content img.wp-smiley {
        border: none;
        margin-bottom: 0;
        margin-top: 0;
        padding: 0;
    }
    .wp-caption {
        border: 1px solid #ccc;
        max-width: 100%;
    }
    .wp-caption.aligncenter,
    .wp-caption.alignleft,
    .wp-caption.alignright {
        margin-bottom: 1.5em;
    }
    .wp-caption img {
        display: block;
        margin: 1.2% auto 0;
        max-width: 98%;
    }
    .wp-caption-text {
        text-align: center;
    }
    .wp-caption .wp-caption-text {
        margin: 0.8075em 0;
    }
    .site-content .gallery {
        margin-bottom: 1.5em;
    }
    .gallery-caption {
    }
    .site-content .gallery a img {
        border: none;
        height: auto;
        max-width: 90%;
    }
    .site-content .gallery dd {
        margin: 0;
    }
    .site-content .gallery-columns-4 .gallery-item {
    }
    .site-content .gallery-columns-4 .gallery-item img {
    }
    
    /* Make sure embeds and iframes fit their containers */
    embed,
    iframe,
    object {
        max-width: 100%;
    }

    Thank you for your time.

    Megan

    mrmccarrin

    (@mrmccarrin)

    It looks like it is in your header. Go to Appearance ->Editor and select header from the right hand column.

    Do a control f to find this code:

    <div class="site-tagline">
    <a href="https://flightfromperfection.com">Premise – the end product is irrelevant</a>
    </div>

    and change the link to whatever you would like.

    Hope this helps!

    Megan

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Got it! Thank you!

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Thank you for your help. I am now longer getting an error, however, I am still having difficulty calling the custom header. The name of the file is custom-header.php and I have tried calling it with several names

    get_header(‘custom-header’); ?>
    get_header(‘custom’); ?>
    get_header(‘header’); ?>
    get_header(‘custom_header’); ?>
    get_header(‘customheader’); ?>

    But, none of these have worked. What is wrong?

    Here is what is have on my front page template currently:

    https://pastebin.com/wvhaBvip

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Please disregard my last comment. I was finally able to get in.

    Thread Starter mrmccarrin

    (@mrmccarrin)

    No, I now realize I was doing it wrong. get_custom_header( );? I was now thinking.

    However, I now cannot get into my site at all. I can not log in to wp-admin after putting that code into my custom header. I was just going to start over, but after re-uploaded everything in filezilla, I still cannot get in. Any suggestions?

    Thread Starter mrmccarrin

    (@mrmccarrin)

    I do not have it set up to call the custom header because whenever I enter the hesder code into my custom-header php, it changes the entire look of the backend of my site.

    I initially called the custom-header on my custom front page, but it was coming up with the same error that I am getting now.

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Thread Starter mrmccarrin

    (@mrmccarrin)

    My front page template uses get_header()?

    Thread Starter mrmccarrin

    (@mrmccarrin)

    Thank you for your help. To not get the error, I have nothing in the custum-header.pho file. That us the only way I have avoided the error. Does that answer your question?

Viewing 15 replies - 16 through 30 (of 125 total)