GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Any Wordpress Ninjas Around? (https://gfy.com/showthread.php?t=1065733)

Dcat 04-23-2012 06:23 PM

Any Wordpress Ninjas Around?
 
I just started with Wordpress a few days ago, I have read up on it some, but something is still alluding me..

I have an old Kubrick theme that I want to use on my copy of Wordpress (version 3.3.1).

The problem is, when I post to Wordpress while using the Kubrick theme (using the built in text editor Ultimate TinyMCE, or with Windows Live Writer), the text, line spacing and everything gets all messed up. When I revert back to using the Twenty Eleven theme, everything in regards to the text looks great. The line spacing is fine, the text formatting is preserved, colors, style, fonts are just as specified.

My question is this:

WHAT part of the theme, style sheet, or the underlying theme framework is responsible for the text formatting? What do I need to focus on updating within my old Kubrick theme to make it play nicely again with text?

:helpme

sleazydoesit 04-23-2012 06:28 PM

style.css, but honestly it would be way easier to just grab a new theme! But if you insist, a little googling always helps...

edit: ok so you asked "what part of the... style sheet" is responsible for text formatting and I said style.css so that's all pretty obvious, but if you don't know how to find what parts of the css to edit then you really should just use a different theme.

https://www.google.co.kr/search?q=ku...ient=firefox-a

papill0n 04-23-2012 06:37 PM

use chrome and 'inspect element'

Mrwww 04-23-2012 06:38 PM

The old theme will not have a reset.css plugged into it...

In your header.php file, place this line beneath your current stylesheet links and obviously above </html>.

Code:

<link rel="stylesheet" href="[YOURDOMAIN]/reset.css" />
then create a text file and dump this inside it...

Code:

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
        display: block;
}
body {
        line-height: 1;
}
ol, ul {
        list-style: none;
}
blockquote, q {
        quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content: '';
        content: none;
}

Save it as reset.css and upload it to wherever you linked it to.

See if it works now, if not...then make sure you have written the stylesheet link properly.

Otherwise, ICQ me.

fris 04-23-2012 06:38 PM

i would go with twenyten or twenyeleven to start out with 3.x+

fris 04-23-2012 06:39 PM

Quote:

Originally Posted by Mrwww (Post 18904665)
The old theme will not have a reset.css plugged into it...

In your header.php file, place this line beneath your current stylesheet links and obviously above </html>.

Code:

<link rel="stylesheet" href="[YOURDOMAIN]/reset.css" />
then create a text file and dump this inside it...

Code:

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
        display: block;
}
body {
        line-height: 1;
}
ol, ul {
        list-style: none;
}
blockquote, q {
        quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content: '';
        content: none;
}

Save it as reset.css and upload it to wherever you linked it to.

See if it works now, if not...then make sure you have written the stylesheet link properly.

Otherwise, ICQ me.

you want this instead

Code:

<link rel="stylesheet" href="<?php bloginfo('template_url');?>/reset.css" />

Dcat 04-23-2012 06:43 PM

Quote:

Originally Posted by Mrwww (Post 18904665)
The old theme will not have a reset.css plugged into it...

In your header.php file, place this line beneath your current stylesheet links and obviously above </html>.

Code:

<link rel="stylesheet" href="[YOURDOMAIN]/reset.css" />
then create a text file and dump this inside it...

Code:

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
        display: block;
}
body {
        line-height: 1;
}
ol, ul {
        list-style: none;
}
blockquote, q {
        quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content: '';
        content: none;
}

Save it as reset.css and upload it to wherever you linked it to.

See if it works now, if not...then make sure you have written the stylesheet link properly.

Otherwise, ICQ me.


This sounds promising. I'll give it a try...

brentbacardi 04-23-2012 07:08 PM

While everyone is being helpful with wordpress issues.....

I am trying to place a banner add to the right of my wordpress setup but outside of the blog and sidebar.

So I am in the index.php of the template and its got idk maybe 10 lines of code. I want this:

Top Banner
Blog - Right Banner
Bottom Banner

All outside of the blog/wordpress

I have the top and bottom working fine however the right banner will not stay equal to the blog. I have used tables, divs, absolute positioning and I cant get it to work properly.

Any ideas?

Mrwww 04-23-2012 07:23 PM

Quote:

Originally Posted by brentbacardi (Post 18904692)
While everyone is being helpful with wordpress issues.....

I am trying to place a banner add to the right of my wordpress setup but outside of the blog and sidebar.

So I am in the index.php of the template and its got idk maybe 10 lines of code. I want this:

Top Banner
Blog - Right Banner
Bottom Banner

All outside of the blog/wordpress

I have the top and bottom working fine however the right banner will not stay equal to the blog. I have used tables, divs, absolute positioning and I cant get it to work properly.

Any ideas?

Equal to the blog ?

Im guessing you havnt placed it within the container div.

Might be called wrapper rather than container.

Brujah 04-23-2012 07:27 PM

for wordpress issues, when you can't find help on the wordpress.org forums, the stackexchange site is very helpful.
http://wordpress.stackexchange.com/

Dcat 04-23-2012 09:13 PM

It looks like (from talking to Mrwww) what I have is a theme dropped onto old Kubrick code. It probably worked fine with older versions of WordPress, but not with 3.0+ because of all the deprecated functions it's now calling to. That might be the reason behind the complete thrashing it's giving my text formatting.

I'm not sure if it can be patched up (using updated calls), or if I'd have to extract the design, and attempt to rebuild it entirely on top of new updated code. Hmmm..

fris 04-23-2012 09:40 PM

Quote:

Originally Posted by Dcat (Post 18904831)
It looks like (from talking to Mrwww) what I have is a theme dropped onto old Kubrick code. It probably worked fine with older versions of WordPress, but not with 3.0+ because of all the deprecated functions it's now calling to. That might be the reason behind the complete thrashing it's giving my text formatting.

I'm not sure if it can be patched up (using updated calls), or if I'd have to extract the design, and attempt to rebuild it entirely on top of new updated code. Hmmm..

wouldnt be too hard to update the code, if im bored tomorow i will do it

TheSenator 04-23-2012 09:51 PM

Quote:

Originally Posted by papill0n (Post 18904664)
use chrome and 'inspect element'

Get a bottle of wine and sit down for some good reading.

https://developers.google.com/chrome-developer-tools/

Dcat 04-23-2012 09:52 PM

Quote:

Originally Posted by fris (Post 18904882)
wouldnt be too hard to update the code, if im bored tomorow i will do it

I'd be more than happy to compensate you for your time. ..Just let me know the best way to contact you, and I'll hit you up tomorrow. :thumbsup

fris 04-23-2012 10:24 PM

Quote:

Originally Posted by Dcat (Post 18904907)
I'd be more than happy to compensate you for your time. ..Just let me know the best way to contact you, and I'll hit you up tomorrow. :thumbsup

i dont use any software to post to wp myself, the kubrick theme works fine in 3.3.2

could you take a screenshot to show what the issue is doing?

jdavis 04-23-2012 10:59 PM

best of luck in finding

peace and love!


All times are GMT -7. The time now is 12:15 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123