Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter williamkeck

    (@williamkeck)

    Resolved.

    Thread Starter williamkeck

    (@williamkeck)

    okay, i finally did it. Holy Crap!!! I was making such a silly error. i was doing everything around within the page and I needed to change it in the content-page …

    Okay. Resolved.

    Thread Starter williamkeck

    (@williamkeck)

    And if I do the same thing but only add color:red; in the arrow class, it changes the text to red. I dont understand why a span would override the color of the text that came before it…

    Thread Starter williamkeck

    (@williamkeck)

    WPyogi, I got the background to change using the first block of the code below, but when I add the second block for arrow and I do a span in the tag, it just doesnt show up… check it out…

    .entry-title, .entry-title a {
      background-color: #e3e3e3;
      padding:  10px 40px;
      margin-left: -100px;
      position:relative;
      width:90%;
      font-size:60;
    }
    
    .entry-title, .entry-title .arrow {
      width:0;
      height:0;
      line-height:0;
      border-left: 20px solid transparent;
      border-top: 10px solid #c8c8c8;
      top: 100%;
      left:0;
      position:absolute;
    }

    and in the page…

    <h1>The Snapshot <span class="arrow"></span></h1>

    You are seriously my hero right now. You have helped me come so far. I shall drink a pint in your honor.

    Thread Starter williamkeck

    (@williamkeck)

    I tried the h1.tab and called it in the page using class but it still did not work. I would prefer to find a solution in the css because I am not a huge fan of relying on a plugin. However, i am wondering what is overriding everything like that background…

    Thread Starter williamkeck

    (@williamkeck)

    Wow, found such an easy solution. I think that twentyeleven overrides everything. however, if you do it in the theme extensions plugin, it is really easy. wow

    thanks so much for your time Wpyogi

    Thread Starter williamkeck

    (@williamkeck)

    I did…

    in the content-page

    <div class="entry-content">
    		<h1 class="tab"></h1>
        <?php the_content(); ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>

    and in the page

    <h1>The Snapshot</h1>

    and in style.css

    /* Headings */
    h1,h2,h3,h4,h5,h6 {
    	clear: both
    }
    
    .tab {
      background-color: #e3e3e3;
      padding:  10px 20px;
      margin-left: -20px;
      position:relative;
      width:70%;
      font-size:40
    }
    
    Still not working
    Thread Starter williamkeck

    (@williamkeck)

    Thanks for the SEO tip. Either way, I could do it for any tag type, but want to be able to implement this. To make the class for h1 is this in the style sheet? I feel like I have already done this…

    Thread Starter williamkeck

    (@williamkeck)

    Implemented is not working. Also, not sure if entry title and h1 are the same. H1 would be ideal so that I can reuse it. Also, this code is not working. In the page or single column file, could it be overriding what h1 means? I am so lost 🙁

    Thread Starter williamkeck

    (@williamkeck)

    When I do a new page and I am writing in the page (not post), I want to use h1 to divide sections. For example, I want to change the background color on http://parispoc.com/live-page/1st/ where it says Crossing the rich and the poor…

    Thread Starter williamkeck

    (@williamkeck)

    Hey, not background image, background color for the text…the idea is similar to this… <a
    http://www.youtube.com/watch?v=15twIcSuBaA&feature=relmfu

    Basically, add background color, offset, use arrow and some tricky shading to make it look like tabs. However, the rest is easy, the hard part is getting edits I make in style.css to be reflected in the page when I do an h1 tab. Only way so far is to do it directly in the page which doesnt make much sense …

    Does that help? Sorry if I confused anyone 😉

    Thread Starter williamkeck

    (@williamkeck)

    Hey Andrew.

    It just does not end up working out the right way. I am going to tinker more with the JQuery stuff. I still have some problems with making my own widget area, but I need to try to figure that out…

    Thanks,

    William

    Thread Starter williamkeck

    (@williamkeck)

    Andrew,

    I really appreciate your help but unfortunately this is not working as described. I have added the code you talked about and am witnessing no changes.

    Are there other options?

    Cheers,

    William

    Thread Starter williamkeck

    (@williamkeck)

    I copied the theme from twentyeleven and renamed it. I looked into child themes but it did not make much sense to me.

    Looking at what you are doing here, there is no #access li li a – rather there is:

    #access ul ul {
    	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    	display: none;
    	float: left;
    	margin: 0;
    	position: absolute;
    	top: 3.333em;
    	left: 0;
    	width: 400px;
    	z-index: 99999
        top: 30px;;
    }
    #access ul ul ul {
    	left: 100%;
    	top: 0;
    }
    #access ul ul a {
    	background: #BAB5B5;
    	border-bottom: 1px dotted #ddd;
    	color: #444;
    	font-size: 10px;
    	font-weight: strong;
    	height: auto;
    	line-height: 1em;
    	padding: 10px 10px;
    	width: 168px;
    }
    #access li:hover > a,
    #access ul ul :hover > a,
    #access a:focus {
    	background: #BAB5B5;
    }
    #access li:hover > a,
    #access a:focus {
    	background: #f9f9f9; /* Show a solid color for older browsers */
    	background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
    	background: -o-linear-gradient(#f9f9f9, #e5e5e5);
    	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
    	background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
    	color: #373737;
    }
    #access ul li:hover > ul {
    	display: block;

    I set to 400px and added 30px for top…But not sure for the next part. Will this end up giving me two different columns (and how?)

    Thanks a lot for the continued support. Cheers!

    Thread Starter williamkeck

    (@williamkeck)

    Ignore my last post, I fixed the file by reloading the original functions.php via FTP. However, I still have the problem that JQuery only works for sidepars unless you define a widget area…

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