Forum Replies Created

Viewing 15 replies - 1 through 15 (of 97 total)
  • I’ve tried them both.
    Unfortunately neither has worked.

    Ok so maybe I misunderstood what you’re trying to achieve :/ … I Thought you wanted your left column to always stay white. The CSS code I gave you should have done the trick.
    Also, I noticed this CSS rule, line 46 of your styles.css file :

    #primary {
    	background-color: # fff;
    }

    There’s a syntax error in this, as there should be no space ( -> #fff ) so maybe that’s why it doesn’t work as expected.

    Is there a way to make the sidebar not display once the width gets below a certain number of pixels?

    Yes, Media Queries are what you’re searching for.
    Your theme use them – from line 2252 of your styles.css file.
    There’s plenty of explanations on the web, try googling it; we can help, but we can’t learn for you ^-^. Here’s a good one to begin with : https://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/

    In your style.css file, not far away from the #secondary {} rules, add this line for the #primary rules, line 84 : background-color: #FFFFFF;
    You’ll end up with

    #primary {
        float: left;
        margin: 0 -26.4% 0 0;
        width: 100%;
        background-color: #FFFFFF;
    }

    Hi,

    In your page.php file, you shouldn’t see the loop (as you would expect on posts page), but instead :
    <?php get_template_part( 'content', 'page' ); ?>
    Basically, this means it will try to find and include the content of a file named content-page.php, and if there’s none in your theme, fallback to content.php. So in one of the files mentioned above (try content-page.php first) you should be able to find the title.
    <h1 class="entry-title"><?php the_title(); ?></h1>
    I suggest you comment this line out, instead of deleting it right away, maybe another day you’ll think it was a bad idea to remove it ??

    Hi,

    Is 10px the real height you want to apply or is it an example? The row height won’t be smaller than any of its child cells… So maybe the font-size, line-height (or whatever) of the text is too big in one of the cells to allow you a row height of 10px… eeer, see what I mean?

    Could be that, could be something else….difficult to guess without seeing the real page.

    WP ——>3.0.3
    W3 Total -> 0.9.2.4

    Worked for me chmodding temporarily wp-content/ and wp-content/uploads/ to 777, as said in the install instructions.

    Back and Front-end both work.

    Beware that it overwrites your .htaccess file.

    WP ——>3.0.3
    W3 Total -> 0.9.2.4

    Worked for me chmodding temporarily wp-content/ and wp-content/uploads/ to 777, as said in the install instructions.

    Back and Front-end both work.

    Beware that it overwrites your .htaccess file.

    Errr if it was the first time you tried to change something, no. Restore the default one.

    and you can remove all the session things in the landing page I told you in the first solution.

    Ok so this should work :

    At the top of index.php of your current theme

    <?php
    if ($_SERVER['HTTP_REFERER'] != "https://www.surfecsc.com/landing.php")
    {
    	header("location: landing.php");
    	exit();
    }
    ?>

    Replace “landing.php” with the correct value in your case.

    Your browser will redirect to your landing page if it doesn’t come right from this page.

    But beware, HTTP_REFERER is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.

    Sorry not sure i understand what you want. Do you have an example?

    You mean you wanna show the temp page between EVERY page click ?? Seriously? it would be very awkward, users will quickly get bored…

    Did you try the first solution I gave you? I really think it would suit your needs.

    Hi. I did this for a website a moment ago.

    Let’s say your landing page is landing.php and is placed at the root of your website.

    Restore your default htacces (redirects to index, htacces don’t have to know your landing page)

    Put this code at the top of landing.php:

    <?php
    session_start();
    $_SESSION['splashscreen'] = true;
    ?>

    Then in index.php of your current theme (before any html ouput):

    <?php
    session_start();
    //	check if user have already see landing.php
    if (!$_SESSION['splashscreen'])
    {
    	header("location: landing.php");
    	exit();
    }
    ?>

    Now every time user will request a page from your wordpress blog, the server will check if a session variable called ‘splashscreen’ exists. If it doesn’t exists, (the first time) it will redirect the browser to landing.php and stop executing the script on index.php.
    Then when passing through landing.php, the session ‘splashscreen’ will exist and equal true, so the redirection won’t happen and the landing page won’t show again until the user clears his browser’s session (force it by hand or quit the browser) and if you redirect from your landing page to another page of your blog, the code placed in index.php will execute as usual .

    Sorry if instructions are messy and don’t make sense, don’t have enough time to explain now, but if it does not work, tell me and I’ll explain more.

    Within the files generated by Artisteer, don’t you have something like this in the file sidebar-default.php, or sidebar-secondary.php (…or whatever is yours) ?

    <?php ob_start();?>
          <ul>
            <?php wp_list_categories('show_count=1&title_li='); ?>
          </ul>
    <?php theme_wrapper($style, array('title' => __('Categories', THEME_NS), 'content' => ob_get_clean())); ?>

    Here we can clearly see the title is passed to the function theme_wrapper() (and eventually translated). Maybe you modified this when tweaking your theme….

    Don’t see options to hide title directly from the Artisteer application, although.

    If it doesn’t solve your problem, you may consider asking directly to Artisteer forums, as you paid for this.

    Another way would be to add a custom-text widget above all other widgets you want title on:

    <h2 class="widget-title">Title of the widget</h2>

    replace the class with the same one applied to “site search” in the screenshot you provided. Should do the trick meantime….

    OK just installed Artisteer. Blocks seem to be Artisteer’s specific naming for widgets. xD Sorry ’bout that.

Viewing 15 replies - 1 through 15 (of 97 total)