Forum Replies Created

Viewing 15 replies - 16 through 30 (of 35 total)
  • Thread Starter dorinspoaller

    (@dorinspoaller)

    Hello and thank you for your help so far!

    Does that theme allow you to enter CSS in a section of the dashboard named, “Custom CSS”, “Jetpack” or “Custom Styles”?

    I have nothing like that.

    Thread Starter dorinspoaller

    (@dorinspoaller)

    I am waaaay out of my league here. This is what I have in the CSS for the Main Menu. Can you pinpoint, please, where and what exactly do I have to do? ??

    /* =Main Menu
    -------------------------------------------------------------- */
    
    #mainmenu {
    	margin: 35px 0;
    	word-wrap: break-word;
    	margin-left: 150px;
    }
    
    ul#mainmenu-menu {
    	position: relative;
    
    	background: rgb(247,247,247);
    	background: -moz-linear-gradient(top, rgba(247,247,247,1) 0%, rgba(244,244,244,1) 100%);
    	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,247,247,1)), color-stop(100%,rgba(244,244,244,1)));
    	background: -webkit-linear-gradient(top, rgba(247,247,247,1) 0%,rgba(244,244,244,1) 100%);
    	background: -o-linear-gradient(top, rgba(247,247,247,1) 0%,rgba(244,244,244,1) 100%);
    	background: -ms-linear-gradient(top, rgba(247,247,247,1) 0%,rgba(244,244,244,1) 100%);
    	background: linear-gradient(top, rgba(247,247,247,1) 0%,rgba(244,244,244,1) 100%);
    	border: 1px solid #E2E2E2;
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f4f4f4',GradientType=0 );
    }
    
    ul#mainmenu-menu li.menu-item {
    	position: relative;
    
    	border-right: 1px solid #E2E2E2;
    	display: block;
    	float: left;
    	font-size: 11px;
    	font-weight: bold;
    }
    
    ul#mainmenu-menu li.menu-item a {
    	color: #5e5e5e;
    	display: block;
    	padding: 20px 40px;
    	text-decoration: none;
    }
    
    ul#mainmenu-menu li.menu-item a:hover {
    	background: #F9F9F9;
    }
    
    /* =Main Menu  : Scaled Menu
    -------------------------------------------------------------- */
    
    #mainmenu.scaled .container > div {
    	width: 100%;
    	height: 52px;
    
    	display: table;
    }
    
    #mainmenu.scaled ul#mainmenu-menu {
    	height: 52px;
    
    	display: table-row;
    }
    
    #mainmenu.scaled li.menu-item {
    	width: auto;
    	height: 52px;
    
    	border: none;
    	display: table-cell;
    	float: none;
    }
    
    #mainmenu.scaled li.menu-item a {
    	border: 1px solid #E2E2E2;
    	border-width: 1px 1px 1px 0;
    	text-align: center;
    }
    
    #mainmenu.scaled li.menu-item:first-child a {
    	border-left-width: 1px;
    }
    
    #mainmenu.scaled ul#mainmenu-menu ul.sub-menu li {
    	border-width: 0;
    	display: block;
    }
    
    #mainmenu.scaled ul#mainmenu-menu ul.sub-menu a {
    	border: none;
    }
    
    /* =Main Menu  : Main Dropdown
    -------------------------------------------------------------- */
    
    ul#mainmenu-menu li.menu-item a {
    	height: 52px;
    
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	box-sizing: border-box;
    	color: #5e5e5e;
    	display: block;
    	padding: 20px 40px;
    	text-decoration: none;
    }
    
    ul#mainmenu-menu ul.sub-menu {
    	position: absolute;
    	top: 52px;
    	left: 0px;
    	width: 100%;
    
    	background: white;
    	border: none;
    	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    	display: none;
    	z-index: 99;
    }
    
    ul#mainmenu-menu li:hover ul.sub-menu {
    	display: block;
    }
    
    ul#mainmenu-menu ul.sub-menu li {
    	border: none;
    	display: block;
    	float: none;
    	font-weight: normal;
    }
    
    ul#mainmenu-menu ul.sub-menu li a {
    	height: auto;
    
    	line-height: 15px;
    	padding: 15px 15px 15px 15px;
    }
    
    /* =Slider
    -------------------------------------------------------------- */
    
    #slider {
    	margin: 35px 0;
    }
    
    /* =Slider  : Slides
    -------------------------------------------------------------- */
    
    #slider .slides {
    	line-height: 0;
    }
    
    #slider .slides img {
    	width: 100%;
    
    }
    Thread Starter dorinspoaller

    (@dorinspoaller)

    Wow, that was faster than what I expected ??

    Ok, but they are not separate. How do I do what you said?

    Thread Starter dorinspoaller

    (@dorinspoaller)

    Doesn’t work ??

    Thread Starter dorinspoaller

    (@dorinspoaller)

    Thank you, you are the best!

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    Dude, you`re a f*****g genius !!! I Love You !!! In a not gay…ish way! ?? It works. Thanks a lot!

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    And where does that go? In home.php? From where to where? :)) Sry for all the questions, but I`m a n00b at this.

    If this works I’m gonna send you the real Santa for Christmas :))

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    Nobody ? ??

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    Hi XDESI,

    This is the only arras_get_posts I found.

    arras_get_posts('index') ?>
    
    <?php if(function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
    	<div class="navigation clearfix">
    		<div class="floatleft"><?php next_posts_link( __('Older Entries', 'arras') ) ?></div>
    		<div class="floatright"><?php previous_posts_link( __('Newer Entries', 'arras') ) ?></div>
    	</div>
    <?php } ?>
    
    <?php arras_below_index_news_post() ?>

    And it is in home.php ??

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    Thanks anyway. I’ve been on Arras Theme forum and everybody has this problem, but nobody knows how to fix it :))

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    @t31os

    The template file that handles the display of the given page I wish to effect is home.php. Unfortunately, the section that interests me is:

    <!-- News Articles -->
    <?php
    $news_query = array(
    	'cat' => arras_get_option('news_cat'),
    	'paged' => $paged,
    	'showposts' => ( (arras_get_option('index_count') == 0 ? get_option('posts_per_page') : arras_get_option('index_count')) )
    );
    
    // if you are a WP plugin freak you can use 'arras_news_query' filter to override the query
    wp_reset_query(); query_posts(apply_filters('arras_news_query', $news_query));
    
    arras_get_posts('index') ?>

    And it is not something that I can fix ??

    @xdesi

    Yes, but it bugs the pagination ??

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    @t31os

    I don’t find it. Where does that go ?

    @xdesi

    All pages display the front page articles if I use offset

    @alchymyth

    The code that interests me is in the home.php file (I think). index.php is empty ??

    The home.php file cand be found at https://anilumina.com/cod.txt

    Featured 1 and 2 are OK, the news section is the one with the problem.

    Forum: Fixing WordPress
    In reply to: PHP Code
    Thread Starter dorinspoaller

    (@dorinspoaller)

    Because it bugs the hell out of older and newer entries. Pages 2,3 and so on display the frontpage, and not the correct archive.

    Thread Starter dorinspoaller

    (@dorinspoaller)

    I changed WP Stats to StatPress and it is 10 times better than the NOT WORKING ONE !

    same here

Viewing 15 replies - 16 through 30 (of 35 total)