Forum Replies Created

Viewing 15 replies - 1 through 15 (of 38 total)
  • Thread Starter miro011

    (@miro011)

    I don’t know. I will look into creating a child . I’ve never ever done that before but I might this time. I have made so many changes to my theme , especially with the CSS . I had an update a few weeks ago and accidently updating the theme and had to do some many things over so I just told myself I will never update my theme again lol .

    If making a child is as simple as copying all my current files I will do it but if I will have to do all the CSS changes and adding / removing functions again I guess I will pass.

    Last update for my theme they actually changed a few nemaes ( classses ) of certain elements which is really stupid IMO , even with a child theme , I would need to make changes again .

    Don’t worry about child theme , I will read about that somewhere . Is there a way to make a back-up of the current version theme that I have , so that even if an update happens and things get screwed , I can just go back to the previous version ?

    Thread Starter miro011

    (@miro011)

    I actually solved this myself after a few attempts. here is what I did if anyone is wondering , I went to my header.php in editor , I found the piece of text that corresponds to the header image and added :

    style=”cursor: pointer;” onclick=”location.href=’LINK TO HOMEPAGE HERE’;”

    So this is what the header image piece looks like OVERALL :

    <header id=”masthead” class=”site-header” role=”banner” style=”cursor: pointer;<?php storefront_header_styles(); ?>” onclick=”location.href=’LINK TO HOMEPAGE HERE’;”>

    Thread Starter miro011

    (@miro011)

    oh ok thx

    Thread Starter miro011

    (@miro011)

    i think i know what happend , the first syntax error I got today, I only replaced the functions file in the NON PRO version of optimizer and im using the Pro version , then after getting blank pages i replaced the functions file in optimizer pro with the one of the NON PRO verison and thats how all of the problems started advancing , it is all on me .

    Btw what would happen If I were to increase the number of characters in my SEO settings to a really high number and spam the **** the living hell out of it , will I get banned on google and bing ?

    Thread Starter miro011

    (@miro011)

    I managed to fix it after 1 hour of trying to . The problem was coming from core-seo :

    “[29-Dec-2015 16:40:46 UTC] PHP Fatal error: Call to undefined function optimizer_seo_excerpt() in /home2/miropro/public_html/gamenewsreport.com/wp-content/themes/optimizer_pro/framework/core-seo.php on line 35”

    Replacing core-seo did nothing , I managed to find my optimizer pro folder and replaced not only the seo but also the pagenation, and functions files and it worked. Problem – resolved .

    Thread Starter miro011

    (@miro011)

    So if I copy paste this in style.css , will it work :

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    .menu-header {
    	text-align: left;
    }
    
    .page_head { display: none; }
    
    .metaslider {
        margin: 0 auto;
    }
    
    .fa-comments { display: none; }
    .fa-comments-o { display: none; }
    .meta_comm { display: none; }
    
    .textwidget {
        display: table;
        margin: 0 auto;
    }
    
    .single_featured { display:none; }
    
    .postitle {
    	text-align: center;
    }
    
    .single_metainfo {
    	text-align: center;
    }
    
    .pace-inactive { display: none; }
    
    .tablepress thead th,
    .tablepress tfoot th {
    	background-color:#d1d1d1;
    }
    
    .tablepress thead .sorting_asc,
    .tablepress thead .sorting_desc,
     {
    	background-color: #d1d1d1;
    }
    
    .tablepress thead .sorting:hover {
    background-color:#db0000; }
    
    .tablepress .row-hover tr:hover td {
    	background-color: #db0000;
    }
    
    .tablepress-id-1 tbody td {
    	font-family: Tahoma;
    	font-size: 17px;
    	color: #000000;
    }
    
    .tablepress .odd td{
    	background-color: #f2f2f3;
    }
    
    .tablepress .even td{
    	background-color: #f2f2f3;
    }
    
    .metaslider .caption-wrap {
    opacity: 1.0 !important;
    }
    
    .metaslider .caption-wrap br {
    display: none;
    }
    
    .logo {
    position: relative;
    bottom: -14px;
    }
    
    .menu-header {
    position: relative;
    bottom: -21px;
    }
    
    .header.logo_left {
    position: relative;
    bottom: 23px;
    }
    
    .single_post {
    position: relative;
    bottom: 20px; ( was 60 )
    }
    
    .lay4 .hentry {
    position: static;
    width: 30%;
    margin-bottom: 4%;
    margin-left: 3%;
    background-color: #f2f2f3;
    overflow: hidden;
    height: 450px;
    
    }
    
    .lay4 .post_image {
        width: 100%;
        height: auto;
        max-height: 600px;
        overflow: hidden;
    
    }
    
    .lay4 .post_content {
    
        float: right;
        width: 100%; }
    
    .post_content { font-size: 13px; }
    
    .lay4 h2.postitle { font-size: 17px;  text-transform:none;}
    
    .single_post .postitle, .lay2 h2.postitle a {
    text-transform:none;}
    
    .catag_list, .fa-th-list { display:none; }
    .blog_mo { display:none; } 
    
    #text-3.widget.widget_text {
    background-color: rgba(0, 0, 0, 0); } 
    
    #text-4.widget.widget_text {
    background-color: rgba(0, 0, 0, 0); } 
    
    #search-2.widget.widget_search {
    background-color: rgba(0, 0, 0, 0); } 
    
    .ast_pagenav .page-numbers,  .navigation .page-numbers  {
    width: 20px;
    margin-top: 100px;
    margin-right: 1px;
    color: #000000; }
    
    #sidebar #searchform #s, #footer #searchform #s, #home_widgets #searchform #s{ width:65%; padding: 10px 2.3%; border:none; color:#888; background:none; max-height: 36px; min-height: 23px; box-sizing:border-box;border: 1px solid #e90d1c;}
    
    .wpcf7-textarea{padding: 2%;border: none;background: rgb(238, 238, 238);width: 96%;min-height: 200px;border:1px solid; border-color:rgba(0, 0, 0, 0.05);}
    
    .wpcf7-text { background: rgb(238, 238, 238) } 
    
    #twitter-widget-0 {
    	margin: 0 auto;
    }
    
    #twitter-widget-1 {
    	margin: 0 auto;
    }
    
    #twitter-widget-2 {
    	margin: 0 auto;
    }
    
    #twitter-widget-3 {
    	margin: 0 auto;
    }
    
    #twitter-widget-1 { display: none;  }
    
    #sidebar { background-color: #eaeaea; }
    Thread Starter miro011

    (@miro011)

    if I wanted to create a child theme , can I just copy- paste my existing code from my theme settings ? Cuz if not and I had do evreything from scratch , then no thanks

    Thread Starter miro011

    (@miro011)

    thx for helping me though

    Thread Starter miro011

    (@miro011)

    my theme had been updated twice so far and nothing changed

    Thread Starter miro011

    (@miro011)

    Ok, here is the new code :

    .lay4 .hentry {
    position: static;
    width: 47%;
    margin-bottom: 20px;
    margin-right: 20px;
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    height: 350px;
    border-style: solid; border-width: 1px;
    }

    .catag_list, .fa-th-list { display:none; }
    .blog_mo { display:none; }

    Now all i need is to make the text keep going in the shorter posts, at least a bit more :
    gyazo.com/6bfa0d11d0f78eaa61239cc51f6087ef

    Thread Starter miro011

    (@miro011)

    what I am going to do now is hide the tags too

    Thread Starter miro011

    (@miro011)

    gamenewsreport.com

    I was able to fix the issue with the posts just now using this code :

    .lay4 .hentry {
    position: static;
    width: 47%;
    margin-bottom: 20px;
    margin-right: 20px;
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    position: relative;
    height: 350px;
    border-style: solid; border-width: 1px; padding-bottom: 20px;
    }

    .blog_mo { display:none; } ( this is to hide the Read More option )

    But I have another problem , I want to make the text go all the way to the bottom of the border , the pages should be good for now too but i would love know which file I will need to edit to create a new Div and move the navigation pages there

    Thread Starter miro011

    (@miro011)

    I do understnad that I need to add a seperate DIV ( seperate from lay4 and move the pages there below the posts but I dont know how to

    as for the posts being the way I want them to be, I have no clue

    Forum: Fixing WordPress
    In reply to: Custom CSS problem
    Thread Starter miro011

    (@miro011)

    shit now my search widget says recent posts on it LOL , wonder what would be causing that LOL i have so much custom code in CSS, i dont even know what I have anymore

    Forum: Fixing WordPress
    In reply to: Custom CSS problem
    Thread Starter miro011

    (@miro011)

    here is my code for the posts and page numbers :

    .lay4 .hentry {
    position: static;
    width: 49%;
    height: 420px;
    margin bottom: 0px;
    margin: 1px;
    background-color: rgba(0, 0, 0, 0.05);
    }

    .ast_pagenav .page-numbers, .navigation .page-numbers {
    margin-top: 15px;
    margin-right: 1px;
    color: #eee; }

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