Forum Replies Created

Viewing 15 replies - 61 through 75 (of 115 total)
  • Forum: Themes and Templates
    In reply to: Site like this

    That theme was custom built for that guy and it was built on Concrete5 not wordpress. You can build a theme like that quite easily (probably take 3 or 4 days)- but trying to find one like that will be difficult. Look around Themeforest and some of the other marketplace sites, you may find something similar.

    Sounds like you have the custom menu set up and possibly the theme your working with is adding the home link by default. Post a link so we can see whats up!

    Looks like she is trying to remove the media queries, so to do this… simply open the style.css in a text editor like Notepad++ or something similar and scroll down to where the media queries start and simply delete them. If the theme author coded the css well then the theme will retain its base form on all screens, It will simply get to small to read easily when viewed on a mobile screen but will look exactly like it did on the larger screens.

    Forum: Localhost Installs
    In reply to: Database Error

    you dont have the exact same settings in your localhost wp-config file as you do for you live database. Meaning, you need to edit your wp-config file and use the db name, username and pw for the new database on the live server.

    when your working in your localhost, you need to set-up the php settings for mod rewrite. If you are running wamp, you need to click on the wamp server icon in the tray, choose the apache menu -> apache modules then move the menu down and select rewrite_module. You will have to restart the server for the changes to take affect. But it should get ya all fixed up there.

    Well, looking at the page – if you are only trying to get rid of the white-ish colored border then you should be able to change line 1074 of your style.css to this

    .searchform {
      margin-top: 0;
      position: relative;
      width: 99%;
      border:none !important;
      border-radius: 3px 3px 3px 3px;
    
    }

    If your still getting the border then you either have to clean out your browser cache and refresh or it will be coming from another source. This worked for me in FF so give it a try and just see what happens. be sure to copy the original style and paste it somewhere safe..

    Just as an experiment, try adding ( border:none; ) and ( margin-left:-810px;) to your main main .searchform styling and see what happens, if that does not work try one more experiment by adding ( !important ) to the end of those like so ( border:none !important; ) and see if this helps.

    Thread Starter James G

    (@jamesg40)

    OK, I figured it out, if anyone wants to know how to inject css to to class’s or id’s in your div containers in their theme via an input option you have built into your custom admin panel but are not totally savy on php, here it is, lol.

    lets say I have an array that I have built into my custom admin options page. It may be a background image that you would like to allow someone to upload and type in the link or a color that you will allow someone to type in #333333 into the input field. These will then be injected into your div class or id by simply doing this on the same functions sheet as your array.

    function header_style() {
    if(!get_header_image() ) return;
    ?>
    <style type="text/css">
    //write your styles in here like so and use get_option to call your array input for what ever style you like....
    
    #the-footer {
    background-image:url( <?php echo get_option('nt_footer_background'); ?> ) !important;
    background-color: #<?php echo get_option('nt_footer_background_color'); ?>;
    background-repeat: <?php echo get_option('nt_footer_background_repeat'); ?> ;
    }
    
    #cp-text h3{ 
    
    color: #<?php echo get_option('nt_copyright_text_color'); ?> ;
    
    </style>
    <?php
    }

    Notice the extra ” <?php
    } ” after the closing style tag, well that is important.
    I had issues with getting this to work and once i added that, it all worked fine, lol. Any ways, I hope this helps someone who like me, has a good grasp of themeing and can do some cool stuff but still doesn’t understand some things and needs an answer sometime, lol

    Yes because my visitors are from all over the place – not just one town or area of town where everyone goes to all the same places, lol.

    Like I said, I don’t really know the theme to well but you may want to try this first. Make a homepage and see if there are page templates in the page attributes drop down in the page editor, if there are options for templates, simply choose one and see what happens, Also, be sure the settings under reading are correct, if you have have it set to Front page displays Your latest posts (Or) if you have it set to A static page and make adjustment there to be sure your not throwing yourself off, lol. You may want o set it to the default setting (Your latest posts ) and see what that does. Also, if you not seeing changes when you refresh your page, try to clear your browser cache and history, sometimes things get stuck displaying the same even though we made changes when we dont clear our browser cache. I hope this helps.

    on header.php remove the wp_head(); at line 2 and save. thats whats messing you up for the main issue. When you remove that, You may have to select a page template or something similar but you may also have some other issue. I dont really know that theme so I cant be 100% sure, seems like there should be some options. Plus, your using super skeleton. Not sure what options he has builti into it but it looks like just a rapid development template, so you may be required to do some extra stuff to get it all the way you want, but your site design looks good and the pages flow nicely, let me know how that fix works for you and if you have any other issues.

    I see the problem but would need to see the index.php or home.php (if you have one) to be sure. It basically looks like you have some commented out stuff just under this container (section-header) that looks like this

    <!-- End SuperContainer -->
    <!-- ============================================== -->
    wp_head(); <!------this shouldnt be here
    <!-- ============================================== -->
    <!-- FlexSlider -->
    <!-- ============================================== -->
    <!-- Super Container - Three Column Row - Content comes from OptionTree -->

    take that wp_head(); out. It belongs in the head with the meta info and your stylesheet links and all. You can add it just above the </head> tag like this <?php wp_head(); ?>

    Yes, yes…. WPyogi is absolutely correct. Many Thanks for adding that WPyogi, I didnt think of it when I answered. Child theme would be the way to go.

    Great, now that you have that your life should be much easier.

    Sure it can be done but There wont be an easy way (like point and click options.)I don’t think the theme has the option built in. I mean the solution is not too difficult but depending upon which way you handle it could be time consuming. One way could be to create an admin panel, build in the wp media uploader and write some code behind it, another way could be to replicate page templates and assign a div class to each of the header parts on each page template and style that div class with a different background-image:{} and select the page template for each page you want a different header on. Otherwise your stuck writing a bit of php and creating some variables and arrays and such, lol. I think its a shortcut and easier to simply do the page templates if its just for your site and not for a client.

Viewing 15 replies - 61 through 75 (of 115 total)