Tagged: ,

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #20080

    Hello there,

    I have 2 questions…

    1) How can I remove the logo from the hearder completely?

    2) When I view a portfolio item, I’d like the portfolio meta information to stay where it is (right side of the photo) but I’d like to move the content of the portfolio to come under the picture. How can I do this?

    3) If I’d like to move the portfolio meta information under the picture as well then what should I do?

    Thank you very much in advance.

    Kind regards,

    Tarki

    #106217

    Hi,

    1) To remove the header you can edit your header.php file at the base directory of the theme and change lines 142 which looks like

    if(isset($avia_config['header_bg']))

    to look like

    if(0==1)

    Items 2 & 3 I remember answering before and moving meta data below the image. Have you checked the forum? also do you mean styling the portfolio item located on the regular or ajax portfolio (where the item opens on top dynamically on the same page) ?

    Thanks,

    Nick

    #106218

    Hi Nick,

    Thank you very much. I searched the forums but I couldn’t find answers to my questions.

    1) To clarify, I’d like to remove the logo in fact (not the header completely). If I edit header.php wouldn’t this change overwritten by theme updates?

    2) I’d like to do this at Ajax portfolio. When I view a portfolio item, I’d like the portfolio meta information to stay where it is (right side of the photo) but I’d like to move the content of the portfolio to come under the picture. How can I do this?

    3) OK I don’t need this one anymore…

    Look forward to hearing from you.

    Kind regards,

    Tarki

    #106219

    Hi Tarki,

    1) If you are not using a child theme then any modification you do including adding code to custom.css file will be overwritten by an update.

    This is the child theme to flagship, just install it as you would any other theme. http://www.mediafire.com/file/h4owsh852alwccg/flagship-child.zip

    2) Please open up functions-flagship.php located in the base folder and find line 78 which looks like

    the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>');

    and move it up to line 85

    so that after you are done , lines 84-88 would look like

    echo "</div>";
    the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> &rarr;</span>');
    echo "</div>";

    die();

    Thanks,

    Nick

    #106220

    Hello,

    Thank you again. I installed child theme but it gives an error. It doesn’t find the parent theme in fact.. I use wordpress multisite… Should I do something to make it work?

    Kind regards,

    Tarki

    #106221

    Hi,

    Have you read the instructions that pop up when you open the zip file?

    For a child to find its parent, it must know 2 things a) the name of the folder containing the parent theme; b) the name of the parent theme as defined in the parent style.css file.

    a) Inside the child theme zip , please open style.css file and find a directive which looks like

    @import url("../flagship/style.css");

    that is the url to the folder containing the parent theme. (capitalized/small letters are different, so Flagship is different than flagship.) The name of the folder that contains the parent theme must be correct here. If you renamed the theme folder, please make sure that child.css file shows the correct value for the name of the theme folder.

    b) Inside the child theme zip , please open style.css file and also open the style.css file of the parent theme (you can view source to see it or look at the base of the parent theme folder). Inside the child theme style.css file, the directive “Template: ” must have an identical value to the value of directive “Theme Name:” in parent theme’s style.css

    .

    So if in your parent theme’s style.css it shows “Theme Name: Flagship” or “Theme Name: I am Co0L” then your child theme’s style.css must show “Template: Flagship” or “Template: I am Co0L”. (capital/small letters are different, so Flagship is different than flagship.)

    Thanks,

    Nick

    #106222

    Hello Nick,

    Thank you very much. I followed your instructions very carefully and all seems correct. Anyway, I haven’t renamed any folders in fact. But I checked to see @import url(“../flagship/style.css”); in the child theme’s style.css and it is there and also flagship is the correct folder name (checked the folder with FTP). I carefully examined letter cases and all small letters, so it is not a problem related to letters cases…

    Also I checked inside the child theme style.css file, the directive “Template: ” has the same value to the value of directive “Theme Name:” in parent theme’s style.css … Both are Flagship in fact

    As I told here earlier this is a multisite wordpress installation. Is this a problem with multisite?

    What else can I check?

    Kind regards,

    Tarki

    #106223

    Hi,

    No problem with multisite. I checked the file by downloading the zip child theme from the same location as I gave you and installing it on a multisite i have on localhost and activated the child theme without a problem.

    You can try this instead: @import url(“../Flagship/style.css”); If it doesnt work, then:

    Please create a temp admin account for me and send the credentials to usjahm (at) gmail (dot) com.

    Thanks,

    Nick

    #106224

    Hi Nick,

    I’ve tried your suggestion and still didn’t work. Supplying password in email is very dangerous. I can email you and may be you send me your mobile number that I can send the admin account details as SMS?

    Also here I’m copying and pasting the css files, may be this helps…

    style.css for flagship


    href='http://www.facebook.com/pages/Kriesi/333648177216'>Join the Facebook Group
    Version: 1.3.0
    Author: Kriesi
    Author URI: http://www.kriesi.at
    */

    /*
    * PLEASE DO NOT EDIT THIS FILE!
    *
    * To make it easy to update your theme, you should not edit the styles in this file. Instead use
    * the custom.css file that is located in your themes /css/ folder to add your styles.
    * You can copy a style rule from any of your css files and paste it in custom.css and
    * it will override the original style. If you just want to add small css snippets you might also
    * want to consider to add it to the designated CSS option field in your themes backend at: Theme Options->Styling
    */

    /* url('css/grid.css') loads the default grid with all widths for the different screens */

    /* url('css/base.css') loads the css reset & default styling for html elements like <a>,
    <ul>,
    <li>, and some wordpress generated classes (eg galleries) */

    /* url('css/layout.css') theme layout for the default screen size and media queries for smaller screen estates */

    /* ('css/slideshow.css') theme layout for the various slideshows */

    /* ('css/shortcodes.css') loads the css rules for the theme shortcodes */

    and here style.css for flagship child

    /*
    Theme Name: Flagship Child
    Description: Flagship Child Theme - <strong>A sleek Business Theme by Kriesi</strong> - Update notifications available on twitter and facebook: <a href='http://twitter.com/kriesi'>Follow me on twitter</a> - <a href='http://www.facebook.com/pages/Kriesi/333648177216'>Join the Facebook Group</a>
    Theme URI: http://themeforest.net/item/flagship-responsive-business-and-portfolio/2388340?ref=Kriesi
    Template: Flagship
    Version: 1.0
    Author: Kriesi
    Author URI: http://www.kriesi.at
    */

    @import url("../flagship/style.css");

    /*
    *
    Insert your custom css styles after the next line below
    */

    Can you see anything wrong here?

    Kind regards,

    Tarki

    #106225

    Hello again,

    finally child theme is installed successfully. After all it was related to capital small letter issue

    After changing Template: Flagship to Template: flagship

    all worked.

    After sorting out this problem now I can start to tackle my real issue I believe. To achieve what I wanted to do you told me to move the following line in functions-flagship.php.

    the_content(__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span>’);

    My questions now

    1) I can’t find functions-flagship.php in the child theme. But if I make the change in the main theme then I’ll lose my changes when there is a theme update. So could you clarfiy where should I make this suggested change?

    2) Just for now I made the change in the main theme and it seems like it worked. However I can see 2 lines in the middle of the text (text which is under the photos now). How can I remove them? Also how can I put some left and right margin for the text?

    Thank you very much for all help,

    Tarki

    #106226

    Hi,

    Glad you got that part working. It usually is a little thing like that which is hardest to spot.

    1) The child theme is composed of 1 css file with 2 lines of code inside, and everything else is optional. I suggest you read http://codex.wordpress.org/Child_Themes this, it is actually a good read, not very complex, and it will answer all your questions.

    2) The whole point of using a child theme, is to *not edit* the parent theme ever again. When you want to edit a parent theme file, you copy it, and move it to the child theme, and create empty folders to match the structure of the parent theme and drop the file there. Every file in the parent theme (except functions.php) gets overridden by the child theme if the file is present there.

    Thanks,

    Nick

    #106227

    Thank again!

    Could you help me with my following question as well?

    2) Just for now I made the change in the main theme and it seems like it worked. However I can see 2 lines in the middle of the text (text which is under the photos now). How can I remove them? Also how can I put some left and right margin for the text?

    Thank you very much for all help,

    Tarki

    #106228

    Hi,

    Please provide a url to the specific page that has these 2 lines.

    Thanks,

    Nick

    #106229

    Hi Nick,

    I sent you the link via email for privacy reasons. You confirmed that you received it with a reply to me…

    I’ll wait for your news.

    Kind regards,

    Tarki

    #106230

    Hi,

    Ok, Everything understood now. I responded to your email. Yet, I don’t see any lines. Please take a snapshot so I may see

    Thanks,

    Nick

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘Removing header logo and aligning portfolio’ is closed to new replies.