KingSwiff

Member

Forum Replies Created

  • In reply to: Image in post shown on frontpage automatically

    #44241

    Hi Sharon.

    Yes thank you, I have already a child theme – I sat it up, when I understood what it was 🙂

    And thanks for your suggestion about Homepage Panes, but that is not, what I’m looking. I have spent a lot of time to make the look of the site, I have now. All kind of small details have been made, and when I follow the tutorial, I loose my slider and the way the posts are shown on frontpage – and more important, the images still are not shown automatically.

    The only change I’m looking for is that images on post excerpts are shown automatically on the frontpage.

    My problem is, that users can make posts in frotend by a plugin, AccessPress Anonymous Post, and when posts contain an image, I can’t make a thumbnail be course the image don’t end up in the media library.

    I hope this make sense?

    Thank you 🙂

    In reply to: Change #post-title

    #44208

    I found another way around.

    I changed the headline/title in the page and then I changed menu item – works like I want 🙂

    In reply to: About a:active

    #44193

    You are right, now I know, I didn’t understand a:active – thanks for the good explanation!

    And it works perfect with .current-menu-item thanks again.

    If somebody could use this one day, the final code looks like:

    #header-menu > li.current-menu-item a:hover {
    background-color: #4476dd !important;
    height: 13px;
    }

    In reply to: Problems Isolating and Removing Boarder Around Header

    #44189

    Hello.

    I also had a “fight” with the border in the header, but here you can see, no border:

    coolgear.dk

    Here is what I did. I put this in custom CSS:

    #header {
    border-top: none;
    border-bottom: 1px solid #000000;
    height: 90px !important;
    }

    The 1px border-bottom is the black thin line in menu.

    In settings I have set the header for 0px.

    Make one image and put it in the header-widget and be sure it the same size as the height in header-code. You can make a link on the image, but if you start building a table – the border will come back.

    I hope this will works for you.

    In reply to: About a:active

    #44191

    Yes exactly.

    I want to imitate the buttons in the menu, so when hover a non active page I want the light blue color, and when hover the active page I want the darker blue and the lighter blue when not hover. If possible 🙂

    In reply to: Replace slider

    #44150

    Im a happy camper now :))

    After testing and testing I finally know, that you can remove the Graphene slider and put the shortcode from the Meta slider into the action hock graphene_index_pre_loop … and tadaaa the Meta slider will be on the frontpage 🙂

    Thanks for trying Kenneth.

    In reply to: Replace slider

    #44149

    I deactivate the Graphene slider in settings and use a shortcode for the Mete slider.

    Right now you can see both sliders here:

    coolgear.dk

    The shortcode I have put in the action hock graphene_after_slider nothing, and when I deactivate the Graphene slider, the Meta slider diapers too.

    I did also tried graphene_before_content but then the side-menu will be pushed down the height of the slider.

    In reply to: Replace image with same name

    #44153

    Okay, if its not a bug, I have to live with this “feature” 😀

    Thanks Sharon

    In reply to: Change default texts but not in the po-fil

    #44067

    ARGH, sorry Anonymous, your guide worked PERFECT – I forgot this in your second code:

    <?php
    ?>

    Now all works GREAT and I can just take small pieces of the translation and make my own, where the rest come from the theme.

    Let me explain if somebody else can use it one day.

    Create the file functions.php and put in this code:

    <?php
    load_theme_textdomain( 'graphene', get_stylesheet_directory() . '/languages' );
    ?>

    Create the folder languages in your child theme.

    Copy the top of the original po-fil and put it into the top of your new po-file (or download the original one, make changed and make it the new one for the child theme)

    Find the text in the original po-file you want to change, it could be like this small translation:

    #@ graphene
    #: category.php:13
    #, php-format
    msgid "Category Archive: <span>%s</span>"
    msgstr "Kategori arkiv: <span>%s</span>"

    I changed it for this:

    #@ graphene
    #: category.php:13
    #, php-format
    msgid "Category Archive: <span>%s</span>"
    msgstr "Kategorien <span>%s</span>"

    When you have changed what you want to change, create a mo-file out of the po-file and upload both to your folder languages in the child theme

    Your are safe 🙂

    Kenneth, I also tried the link you send me, but couldn’t make it work – and this time I remembered <?php ?> 🙂

    Thanks again to both of you!

    In reply to: Change default texts but not in the po-fil

    #44065

    Okay, I have tried to put the original po and mo file into /graphene-child/languages/ – no effect.

    I have put in this text in functions.php:

    load_theme_textdomain( 'graphene', get_stylesheet_directory() . '/languages' );

    … with the result that the text pop up as text in start of homepage..?

    It no option to override the original file, be course it will disappear after an update.

Viewing 10 posts - 1 through 10 (of 34 total)