raslikestodraw
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Masthead too large in mobile versionThank you for your help
Forum: Fixing WordPress
In reply to: How to widen content in custom templateThat worked!!! Thank you so much, Michael
Forum: Fixing WordPress
In reply to: How to widen content in custom templateHey Michael,
Sorry about that. It is available
I am using the swallow theme, I made a child version of it.
Forum: Fixing WordPress
In reply to: Parent stylesheet will not load in child themeOh, Im sorry.
The parent theme is Romangie.
The function i wrote is
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );}
Forum: Fixing WordPress
In reply to: Squares showing up next to navigation menu itemsThank you so much it worked!!
Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinksThank you, I put the url in the value section and it keeps disappearing. Am I doing something wrong.
Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinkswithin the code. is there a specific spot I should put the above links in?
Sorry I am a beginner when it comes to this part.
Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinksThank you everyone.
How do I create a absolute url so that it picks up the header image for the about us and contact page?
Please advise.
Forum: Fixing WordPress
In reply to: Blank box appearThank you for your response.
twentythriteen
Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinksThank you for your help.
The problem is this site was totally developed by developer who disappeared. Therefore, I’m trying to help out a friend ( no web experience) who is trying to have the header images show up on the about us and contact pages.
What would be your best suggestion to correct this code, so the header image will show up on those two pages?
Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinks[please read how to post code without getting it broken:
http://codex.wordpress.org/Forum_Welcome#Posting_Code ][the code below is partially broken]
<head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width"> <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/fevicon.ico" > <!-- <title><?php wp_title( '|', true, 'right' ); ?></title> --> <title>Feoga Company: Home for Quality Seafood, Meat, Spices, Rice, tinned tomato and grocery shopping bags</title> <meta name="keywords" content="Feoga, Feoga Company, fish company, meat company, Frozen seafood, fresh frozen seafood, fish market, meat market, frozen mixed seafood, fresh fish, fresh meat, fish supplier, wholesaler, frozen seafood products, frozen seafood suppliers, Koforidua, Ghana, fish importer, Rice, Oil, Plastic shopping bag, Grocery shopping bag, rubber bag, Ghana importer, foods, Eastern Region, fish distributor, distributor, Redfish, Dentex Maroccanus, Horse Mackerel, Trachurus Trachurus, Mackerel, Scomber Japonicus/Colias, Atlantic Mackerel,Scomber Scombrus, Sardinella, Sardinella Aurita, Atlantic Herrings, Clupea Harengus, Sardine , Sardina Pilchardus,Hake, Merluccius Gayi /Hubssi, Tilapia, Bonito, Tuna Kasuwonus Sp,Whole/Full, Chicken, Chicken Hen Leg Quarter,Chicken Hen Wings, Feoga Ventures; tomatoe Chicken Upper Back, Chicken Breast, Chicken Frank ,Chicken Feet, Chicken Gizzard, Chicken Heart, Chicken Liver ,Chicken Drum Stick,Half Pork ,Hind Feet,Pork Front Hock, canned tomatoe, fish trading, trading, meat trading, company, Ghana fish importers, Ghana meat importers Pork Riblets,Pork Spare Ribs,Pork Crown,Pork Half Head,Pork Front Feet,Pork Liver;Pork;Mask;Beef Cut Cheek ;Cow Brisket;Cow Snout;Cow Thick Skirt;Cow Diced Tripe;Cow Feet;Cow Honey Comb;Beef Kidney;Beef Sinew;Cow Liver;Cow Think Skirt Pad;Cow tripe;Cow Testicle;Beef Heart;Beef Green Tripe;Mutton Lamb Flap ;Mutton Carcass 6 way;Mutton Leg;Mutton Thick Skirt;Sheep Tripe;Sheep Heart;Sheep Liver;Sheep Testicle;Cooking Oil;Spices;Rice;Plastic Shopping Bag;Maa Vic Tinned tomato> <meta name="description" content="Leading importer and distributor of quality affordable Meat, Seafood, Rice, Oil and Tinned tomato. Also manufacture and distribute grocery or plastic shopping bags. Visit any of our shop for an outstanding customer service.”> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script> <![endif]--> <?php wp_head(); ?> <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <?php $path='http://www.feoga.com/wp-content/themes/twentythirteen/js/jquery.min.js'; ?> <script type="text/javascript" src="<?php echo $path; ?>"></script> <script> $( ".product_type_variable" ).prev().css( "display", "none" ); </script> </head> <?php $page_id= get_the_ID(); if($page_id=='60' or is_single() ){ ?> <style> .site-header { height: 335px; background: url("<?php echo bloginfo('template_url'); ?>/images/headers/shop-header.png") no-repeat; } .site-main {margin-top: 0px;} </style> <?php } else {?> <style> .site-header { background: url("<?php echo bloginfo('template_url'); ?>/images/headers/HomepageSlide-1.png") no-repeat; } </style> <?php } ?> <?php $image_id = get_post_meta(get_the_ID(), 'header_image', true ); $image= get_attached_file( $image_id, $unfiltered ); $image_path= explode('wp-content', $image); $main_image= 'wp-content'.$image_path[1]; if ( get_post_meta( get_the_ID(), 'header_image', true ) ) : ?> <style> .site-header { background: url("<?php echo $main_image ?>") no-repeat!important;} </style> <?php endif; ?> <body <?php body_class(); ?>> <div style="position:fixed; right:0;top:10px; padding:0 20px 0 0;"> <ul> <li class="menu-item" id="menu-item-499"><a href="http://www.feoga.com/?page_id=7">My Account</a> <?php if (is_user_logged_in() ) { ?> <li class="menu-item" id="menu-item-499"><a>" title="Logout">Logout</a> <?php } ?> </ul> </div> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <?php if(is_front_page()){ if ( function_exists( 'soliloquy' ) ) { soliloquy( '127' ); } ?> <style> .site-main {margin-top: 0;} .site-header{background:none!important; height: 335px; } </style> <?php } else { ?> <!-- <a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> </a> --> <?php } ?> </header><!-- #masthead --> <div id="main" class="site-main"> <div class="left-bar"> <div id="navbar" class="navbar"> <a>"><img src="<?php echo bloginfo('template_url'); ?>/images/feoga green logo.png" style="margin-bottom: 10px; width: 128px;"> </a> <nav id="site-navigation" class="navigation main-navigation" role="navigation"> <h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3> <a href="#content">"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> <?php get_search_form(); ?> </nav><!-- #site-navigation --> </div> </div><!-- #navbar -->Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinksThank you for your help laliz. However, I can’t seem to locate the url in the header or css file. 🙁
Would it be located anywhere else?
Forum: Fixing WordPress
In reply to: Header page image disappears when I change permalinksThank you for your response. However, I do not see the blank box on my end. What would be the best option to remove?
The home page is the only page that contains the slider if I’m mistaken.
Thanks again for any help.
Forum: Themes and Templates
In reply to: How do I move the image closer to the header on homepageThank you thank you thank you
Forum: Themes and Templates
In reply to: resizing image thumbnailsstill doesn’t work 🙁